I'm trying to insert the current time and date into a MySQL table as well as some other data and it doesn't seem to be working. Here is the code I'm using:
$sql = "INSERT INTO $table (session,product,quantity,cost_price,cust_id,order_date,
order_time) VALUES ";
$sql .= "('$session','$product','$quantity','$cost_price','$cust_id',
'sysdate','systime')";
It's probably simple but I can't see it, someone please help!!