Just wondering, I keep getting this warning message :
supplied argument is not a valid MySQL result resource
when I use mysql_fetch_row or other function...
Anyone know why ?
Here's the code :
<?php
$link=mysql_connect("localhost","aaa.com","aaa");
if(!mysql_select_db("aaa_com",$link)) die("Database tidak bisa dipilih");
$result=mysql_query("SELECT * FROM 011110164",$link);
while($baris=mysql_fetch_row($result))
{
print("$baris[0] - $baris[1] - $baris[2]");
}
mysql_close($link);
?>
Thanks.