zgkhoo Posted November 8, 2007 Share Posted November 8, 2007 <?php $result=mysql_query("SELECT * from gptran WHERE UserID='$login'&& CardSerial='$_P0ST[gamecard]'")or die('Query failed: ' . mysql_error()); ?> is it valid? Link to comment https://forums.phpfreaks.com/topic/76502-is-it-validmysql-select-statement/ Share on other sites More sharing options...
trq Posted November 8, 2007 Share Posted November 8, 2007 Does it work? It may be a valid query but it is not valid php. <?php $result = mysql_query("SELECT * FROM gptran WHERE UserID = '$login' && CardSerial='{$_P0ST['gamecard']}'") or die('Query failed: ' . mysql_error()); ?> Link to comment https://forums.phpfreaks.com/topic/76502-is-it-validmysql-select-statement/#findComment-387496 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.