RE: [PHP] I need an expert to tell me what I am doing wrong
| From: | John Almberg | Date: | Sat, 24 Mar 2001 00:59:13 +0000 |
| Subject: | RE: [PHP] I need an expert to tell me what I am doing wrong | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45373@lists.php.net to get a copy of this message | ||
You don't say where the failure is, but I'm guessing its when you do the
mysql_query. Your INSERT statement looks a bit odd.
Try:
$sql = "INSERT INTO orders (product,name,email)
VALUES ($product,$name,$email)";
John