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? Quote 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()); ?> Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.