I create a directory listing and came across this issue.
what value does mysql_query($query1) return if there is no value
My script received this message from $result, would it be alright to pass array(0)? Warning: mysql_fetch_array($result) expects parameter 1 to be resource, array given in