try adding an error report after the query
$result = mysql_query( select * from domains ) or die (mysql_error());
the rest looks OK
Peter
-Original Message-
From: Trevor Rhodes [mailto:[EMAIL PROTECTED]
Sent: 17 December 2003 22:26
To: [EMAIL PROTECTED]
Subject: Basic error
Hello
Hi Trevor
You haven't the query which connection to use:
$result = mysql_query( select * from domains, $link );
HTH
Steve Davies
Trevor Rhodes wrote:
Hello friendly helper types,
What is the problem here. I can't find any errors. I know it's there but as a
newbie I'm as blind as a bat at
From: Trevor Rhodes [mailto:[EMAIL PROTECTED]
Hello friendly helper types,
What is the problem here. I can't find any errors. I know
it's there but as a
newbie I'm as blind as a bat at the moment. Thanks for your help.
Warning: mysql_num_rows(): supplied argument is not a valid
Hello friendly helper types,
Forget it people. I'm an idiot. Just forgot to change the table name. Of
course then it at least had more clue as to what it was doing that myself.
I'm going away now, but you can be sure I'll be back with more silly
questions later. Bye. :^)
What is the