Bmath121
1-31-02, 08:31 PM
I am trying to run a script that I wrote and every time it gets to a certain line of code i get an error that says
Supplied argument is not a valid MySQL result resource
I went to that line and the line is:
$sql = mysql_query("SELECT * FROM roster where id=$id");
this runs fine on my local machine but not on thier server, please help!! I need to get this running.
btw
$sql = mysql_query("SELECT * FROM roster");
works fine but I am trying to only get a certain line.
thanks
Bryan
Supplied argument is not a valid MySQL result resource
I went to that line and the line is:
$sql = mysql_query("SELECT * FROM roster where id=$id");
this runs fine on my local machine but not on thier server, please help!! I need to get this running.
btw
$sql = mysql_query("SELECT * FROM roster");
works fine but I am trying to only get a certain line.
thanks
Bryan