$query = mysql_query("INSERT INTO your_table (field_name, field_name2) VALUES('$form_name1', '$form_name2')");
if your db field was fname and phone
and in your form your fields were called name and phone
$query = mysql_query("INSERT INTO your_table (fname, phone) VALUES('$name', '$phone')");
The second set of parentheses matches those values with the first set of parenthesis. $phone goes into field phone.
Make sense?
Cgraz