VALUES ('{$a_row['p_name']}', '{$a_row['p_company']}',
... and so forth.
Also, try echoing $c_query to see if the values are being stored in the variable properly, if you haven't already done so. If the values aren't showing up in the variable, then you definitely need to include the curly braces. If they are showing up, then perhaps MySQL needs the single quotation marks.
-- Regards, Ben Ramsey http://benramsey.com http://www.phpcommunity.org/wiki/People/BenRamsey
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php