Hi,

am also new to php.according to me i have one solution for ur problem.Directl y u can use without separate variable.$sql.

[code=php]$sql = "INSERT INTO order (orderid, customerid, outletid, userid, reservationdate ) VALUES (' ','".$customeri d."','".$outlet id."','".$useri d."','".$date." ')";
[/code]

madhu.