[thelist] Fwd: PHP question

HP Thniah heanpeng at gmail.com
Mon May 18 19:46:48 CDT 2009

 Hi there

Can anybody figure out what is wrong with this? Seems like "$SQL.$j" returns
an error. When I change to $SQL1, it works.

for($j==1; $j<=1;$j++)
$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 mailing list