Hi,
Can anyone tell me why this query will not insert the values into the database:
$query_quote = "INSERT INTO quotes VALUES (NULL, '{$SESSION['user_id']}', '{$SESSION['quantity']}', '$r1_qty', '$r1_prod', '$r1_up', '$r2_qty', '$r2_prod', '$r2_up', '$r3_qty', '$r3_prod', '$r3_up', '$r4_qty', '$r4_prod', '$r4_up', '$r5_qty', '$r5_prod', '$r5_up', '$r6_qty' '$r6_prod', '$r6_up', '$r7_qty', '$r7_prod', '$r7_up', '$r8_qty', '$r8_prod', '$r8_up', '$net_tot', '$vat', '$inv_tot', '{$_SESSION['sr']}', NOW(), 'n', 'n')";
$result_quote = mysql_query ($query_quote);
if (mysql_affected_rows() == 1){