Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/***/public_html/***/profiles.php on line 60
on this code:
Code: Select all
<?php
$sql="SELECT * FROM user WHERE login ILIKE 'bill'";
$rs=mysql_query($sql);
while($row=mysql_fetch_array($rs)){ //print out every user found}
?>if I replace the $sql with:
Code: Select all
<?php
$sql="SELECT * FROM user "
?>