i got below error
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL resul t resource in /home/evolutio/public_html/tutorial/tutorial.php on line 72
i think check the sql result first, may be mysql get no value.
if yes check the mysql connection use connectio n value at the time of running the sql.
All the best!
Avlos
Post Comments |
|
well i wouldn't have a clue where to start? could you give me directions on how to do that.
Post Comments |
|
Hi there,
First you check the mysql connection, i found common mistake, guys start the conne ction but not add in mysql, make sure the below
PHP Code:
$connection=mysql_connect($SQL_ SERVER, $SQL_USER, $SQL_PASS);
$db=mysql_select_db($SQL_DBASE,$connection);
now make sur e when you execute the sql
PHP Code:
$results = ($sql,$db);
Check it again.
if i t is ok!
Now Check the what data you get in results. if there is no data in result you get the same error.
Try the above.
Best of luck
Avlos Post Comments |
|