Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($_POST) {
- $dbconn = new DbConnection;
- $formdata = array();
- foreach($_POST as $key => $value) {
- $$key = mysql_real_escape_string(trim($value));
- }
- $sql = "INSERT INTO anx_com.contact_form
- (cf_name,
- cf_position,
- cf_company,
- cf_email,
- cf_phone,
- cf_int_saas,
- cf_int_mra,
- cf_int_ans,
- cf_int_bem,
- cf_int_hds,
- cf_int_sls,
- cf_int_acp,
- cf_comments,
- emailkey,
- sent)
- VALUES(
- ...
- )";
- $dbconn->Query($sql);
Add Comment
Please, Sign In to add comment