Script to include tables for task ratings.
Review Request #137 - Created March 14, 2010 and submitted
Information | |
---|---|
Cosmin Gheorghe | |
infoarena | |
Reviewers | |
hackers | |
Script to include tables for task ratings + db functions to handle ratings
Only had coding style comments. It's ok otherwise.
-
/trunk/common/db/task_rating.php (Diff revision 1) -
Delete this if it's not necessary.
-
/trunk/common/db/task_rating.php (Diff revision 1) -
function ...) { }
-
/trunk/common/db/task_rating.php (Diff revision 1) -
foreach ($ratings
-
/trunk/common/db/task_rating.php (Diff revision 1) -
We generally do it "task_id = sth" (add spaces) You can remove the ;
-
/trunk/common/db/task_rating.php (Diff revision 1) -
It's not really a query... you can call it values :)
Are you sure this is enough? I don't see any task_rating_get function.
-
/trunk/common/db/task_rating.php (Diff revision 1) -
this should go in common/task_rating.