Re: [PHP] If (!$results) are true what am I missing

2001-07-09 Thread David Robley
On Tue, 10 Jul 2001 14:37, Richard Kurth wrote: > What am I missing hear all I what to do is see if the domaname is > in the database and if it does print the error message if does not then > just move on without doing anything > > > $db = MYSQL_CONNECT($roothostname,$rootusername, $rootpassword)

Re: [PHP] If (!$results) are true what am I missing

2001-07-09 Thread Kurt Lieber
um...I believe your query will return results if there is a match, but your error message will only display if there is no match. !$result will only be true if there are no records returned on your query, meaning that the domain name doesn't exist. From your error message, I'd say that's not wha