Guest User

Untitled

a guest
Feb 27th, 2022
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. <?php
  2. if($a==1){
  3. $result = q("SELECT *
  4. FROM
  5. table
  6. WHERE
  7. AND ((bn.`bindGroup`='studyQuestionID' AND bv.`bindValue` IN (".implode(",", array_keys($IDs)).") )
  8. )
  9. GROUP BY com.commentID
  10. ");
  11. while ($r = $result->fetch_assoc()) {
  12. $json['results']['studyQuestionList']['result'][$r['bindValue']]['comment'][$r['commentID']]=$commentData;
  13. }
  14. }
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment