[thelist] Fwd: PHP question
heanpeng at gmail.com
Mon May 18 19:46:48 CDT 2009
Can anybody figure out what is wrong with this? Seems like "$SQL.$j" returns
an error. When I change to $SQL1, it works.
$SQL.$j = "SELECT $questionsqid, $questionsqtext, $optionsopttext,
$optionsopttype From $table, $table1 WHERE $questionsqid = $optionsqid and
$questionsqid = 1 Group By $optionsopttext";
$result1 = mysql_query($SQL1) or die(mysql_error());
Any help is appreciated.
Thanks in advance.
More information about the thelist