Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if($a==1){
- $result = q("SELECT *
- FROM
- table
- WHERE
- AND ((bn.`bindGroup`='studyQuestionID' AND bv.`bindValue` IN (".implode(",", array_keys($IDs)).") )
- )
- GROUP BY com.commentID
- ");
- while ($r = $result->fetch_assoc()) {
- $json['results']['studyQuestionList']['result'][$r['bindValue']]['comment'][$r['commentID']]=$commentData;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment