I keep getting an error when i submit my userform. when i delete $value_3 it uploads the rest into the database. i need the column ‘onum’ to accept the submit. please help. here is the code…
[php]<?php
require_once(‘functions.php’);
require_once(‘config.php’);
connect();
$value=$_POST[‘quantity’];
$value_1=$_POST[‘products’];
$value_2=$_POST[‘shippedby’];
$value_3=$_POST[‘onum’];
$value_4=$_POST[‘destination’];
$sql=“INSERT INTO producttest (quantity, products, shippedby, onum, destination) VALUES (’$value’, ‘$value_1’, ‘$value_2’, ‘$value_3’, ‘$value_4’)”;
if (!mysql_query($sql));
{
die('error uploading content: ’ . mysql_error());
}
mysql_close();
?>[/php]