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 ? Quote 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); Quote Link to comment https://forums.phpfreaks.com/topic/90484-a-project-probel-sos/#findComment-463916 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.