Why would this command just Die!

From: Date: Sun, 19 May 2002 22:27:20 +0000
Subject: Why would this command just Die!
Groups: php.general 
Request: Send a blank email to php-general+get-98388@lists.php.net to get a copy of this message
This command just dies! I have checked sql connection ... ok the insert into line ... ok Pfft it just don't wanna work <?php $answers="$band, $middlename, $pot"; $date=date ("l dS of F Y h:i:s A"); $sql = "INSERT INTO prizeline (id, email, name, address, answers, date) VALUES ('', '$email', '$name', '$address', '$answers', '$date')"; echo $sql; mysql_query($sql) or die ("There has been an error"); ?> ## Out put on page ## INSERT INTO prizeline (id, email, name, address, answers, date) VALUES ('', 'newmanpj@philipsdomain.com', 'newman', '12 Newman ave Auckland', 'In Season, James, John', 'Monday 20th of May 2002 10:22:05 AM')There has been an error

« previous php.general (#98388) next »