heres a snippet for you that i have on my drive from a project
//Writes the information to the database
mysql_query("INSERT INTO fugitive (fname, mname, lname, alias, dob,
pob, race, height, weight, eye, hair,
city, state, offense, company, lka, possible_locations,
assoc, physical, photo)
VALUES ('$fname', '$mname', '$lname', '$alias', '$dob',
'$pob', '$race', '$height', '$weight', '$eye',
'$hair', '$city', '$state', '$offense', '$company',
'$lka', '$possible_locations', '$assoc', '$physical',
'$pic')");