Re: Multiple Inserts

From: Date: Fri, 09 Mar 2001 12:49:13 +0000
Subject: Re: Multiple Inserts
Groups: php.general 
Request: Send a blank email to php-general+get-43136@lists.php.net to get a copy of this message
In a message dated 09/03/2001 12:38:08 GMT Standard Time, cczona@nospam.invalid writes: << Whoa, you're mixing apples with oranges. Try: $db = mysql_select_db($dbase, $connection); $SQLStatement = "INSERT INTO Members (Email) VALUES ('" . $GetEmails[$a] . "')"; //removed the 'or die' portion $SQLResult = mysql_query($SQLStatement,$connection) or die ("Problem " . mysql_error() ); //moved 'or die' here, using more detailed info -- CC >> Still no joy, and it doesn`t give out any errors whatsoever. Ade

« previous php.general (#43136) next »