akaballa123
Technical User
Hi I am trying to create a specifice sql statement and keep on receiving this error:
Parse error: syntax error, unexpected T_VARIABLE
It seems there is something wrong with my sql variable. Thanks!
Parse error: syntax error, unexpected T_VARIABLE
Code:
$orgName = $row['orgName'];
$content3 .= '<tr><td align="center">' . $orgName ;
$trainingOrg = @mysql_query('SELECT trainingName FROM addtrainingtbl WHERE organization = '$orgName'');
It seems there is something wrong with my sql variable. Thanks!