Can someone check this mysql code
| From: | PhilipNZ Staff | Date: | Sun, 19 May 2002 20:57:16 +0000 |
| Subject: | Can someone check this mysql code | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-98384@lists.php.net to get a copy of this message | ||
My code below don't want to insert the code into the database what am I doing wrong?
<?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');";
$result = mysql_query($sql);
?>