webtuto Posted February 11, 2008 Share Posted February 11, 2008 hi im working on a project and when i write this code $res = mysql_query('SELECT * FROM video where group='$_GET[cat]' ORDER BY id DESC LIMIT ' . $premierMessageAafficher . ', ' . $nombreDeMessagesParPage); it gives me this error Parse error: syntax error, unexpected T_VARIABLE in C:\wamp\www\pal\listvid.php on line 43 whats wrong ? Link to comment https://forums.phpfreaks.com/topic/90484-a-project-probel-sos/ Share on other sites More sharing options...
LemonInflux Posted February 11, 2008 Share Posted February 11, 2008 $res = mysql_query("SELECT * FROM `video` where group='". $_GET[cat] ."' ORDER BY `id` DESC LIMIT ". $premierMessageAafficher .", ". $nombreDeMessagesParPage); Link to comment https://forums.phpfreaks.com/topic/90484-a-project-probel-sos/#findComment-463916 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.