Can you have multiple tables in a mysql databas? Because I have one table called "contacts" and it works. then I create a new php file and I have the exact same code, but I change all the words called "contacts" to "students"
but it generates this common newby error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
I have a:
@mysql_select_db($database) or die( "Unable to select database");
and it doensnt say it cant connect to the database.
So what is the problem.
also, no one has answered this, you might get best answer:
http://uk.answers.yahoo.com/question/index;_ylt=AqgSfm2sLttwo6WCynj5htYhBgx.;_ylv=3?qid =20100424125532AAYGIyU
Mathew, I know it means it's connected, have you read my question? |