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) OR DIE("Unable to 
connect to database");
mysql_select_db($dbName, $db);
$result = mysql_query( "SELECT * FROM customers WHERE domaname = $domain1", $db); 
If (!$result) {
      print_error("<b> This Domain Name $domain1 already exist please select a new 
Domain Name </b> ");

Best regards,

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to