comments rate system, help
I'm doing a rate comments system, and I don't know how to save the
dates in the data base. How you can see, I pass an id to the function,
which I realize to use to save on the table comments_rate
comments (id, comment)
comments_rate (id, comment_id, rate)
$html->link('comments_rate', array('controller' => 'comments',
'action' => 'rate_comment', 'id' => $comment_id));
function rate_comment(id) {
// CODE
}
thanks!!!
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home