Hey
NOTE: when your sharing code snippets, log or other files try using
dpaste.com or
pastebin.com will make it easier for other to read and will keep the email clean.
Error >> I whole query should be in quote, double quote your variables so the value can be evaluated
other tips >> It would have been cleaner if you use the variable you created, otherwise there was no point assigning them at the first place
example >>
$sql = mysql_query('INSERT INTO tractor(file,manufacturer,tractor_model,rent_cost(per_day) VALUES ("$file","$manufacturer","$tractor","$rent_cost")');
--
Allen Machary.