RE: Basic error

2003-12-17 Thread Peter Lovatt
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

Re: Basic error

2003-12-17 Thread Steve Davies
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

RE: Basic error

2003-12-17 Thread Mike Johnson
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

Re: Basic error

2003-12-17 Thread Trevor Rhodes
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