Join 136,576 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,885 people online right now. Registration is fast and FREE... Join Now!
$sql="INSERT INTO reservation (fname,lname,mname,address,contact,type,guest,room,inn,out,date,deposits) VALUES('$fname','$lname','$mname','$add','$con','$type','$guest','$room','$in','$out','$date','$dep')";
$sql="INSERT INTO reservation (`fname`,`lname`,`mname`,`address`,`contact`,`type`,`guest`,`room`,`inn`,`out`,`date`,`deposits`) VALUES('$fname','$lname','$mname','$add','$con','$type','$guest','$room','$in','$out','$date','$dep')";
$sql="INSERT INTO reservation (fname,lname,mname,address,contact,type,guest,room,inn,out,date,deposits) VALUES('$fname','$lname','$mname','$add','$con','$type','$guest','$room','$in','$out','$date','$dep')";
It's the way I've done it. That is all. I just started recently and that is the way I do it. I was unsure if it was the answer as i tryed to point out by the word humor.