I'm trying to do this:
$sql = "INSERT INTO orders(ordernum,products,quantities,data,status,notes) VALUES ('$id','$prods','$quants','$dat','New Order','$price NOW()')";
the problem is with the last value... its a php string with the price with the mysql now() function... as writen above it enters now() as text, include it outside the ' ' and it generates an error... so how do you use a function and var so that the data is entered properly?
Mark
PS I know it can be done with the php date() time() functions but I'd like to know how to do it outside of this specific situation