Little confused by this one and would appreciate some help, i've tested the statement in the database itself and it returns without any complaints, but when using it within php coding it cries. I'm a little more puzzled because i've been looking and people have only seemed to have had problems with this when joining two tables. I'm not doing that at all, 1 single table and only one single entry in the database with the same ID, and id is the only column called id in the table.
Anyway thanks in advance.
jumpdate is 2008-08-01
jumptime is 10:30:00
id is 1
$sql = 'UPDATE
tandem_booking
SET
date_accepted = NOW(),
date_jump = "' . $_POST['jumpdate'] . '",
time_jump = "' . $jumptime . '",
accepted = 1
WHERE
id = ' . $_POST['id'];
$booked = mysql_query($sql) or die(mysql_error().$sql);