burge124 Posted March 20, 2008 Share Posted March 20, 2008 hi, im not too sure how to construct this mysql query the part im not sure about is between the two "?s" $newresult = mysql_query("SELECT * FROM question WHERE chapterid = 1 WHERE UserID ='1017' ? output the cdata in "result" (or if no answer echo to be answered) ? ORDER BY QuestionID"); thanks Link to comment https://forums.phpfreaks.com/topic/97114-mysql-query/ Share on other sites More sharing options...
frijole Posted March 20, 2008 Share Posted March 20, 2008 $newresult = mysql_query("SELECT * FROM question WHERE chapterid = 1 WHERE UserID ='1017' ? output the cdata in "result" (or if no answer echo to be answered) ? ORDER BY QuestionID"); Link to comment https://forums.phpfreaks.com/topic/97114-mysql-query/#findComment-496926 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.