Hi
Im new to Mysql and PHP programming. Im trying to get started but I cant output any data from my database. Here is some of my code
$query="select * from employees";
$result=mysql_query($query);
$array=mysql_fetch_array($result);
The bold line is bringing up the error "not a valid mysql result resource" its the same message when I use mysql_result and mysql_numrows. Im using portland as my free host could it be a php version problem? I know Im connecting to the database OK as I can create tables from php.
I really need some help as this is driving me mad

