cancel
Showing results for 
Search instead for 
Did you mean: 

Help in adding a custom field, well actually two

New Member

Help in adding a custom field, well actually two

// Constant form data

            $data = "loginName=" . $username;

            $data .= "&loginPassword=" . $password ;

            $data .= "&ea=" . urlencode(strip_tags($_POST));;

            if (isset($_POST)) $data .= "&first_name=" . urlencode(strip_tags($_POST));

            if (isset($_POST)) $data .= "&last_name=" . urlencode(strip_tags($_POST));

            if (isset($_POST)) $data .= "&company_name=" . urlencode(strip_tags($_POST));

            if (isset($_POST)) $data .= "&zip_code=" . urlencode(strip_tags($_POST));

           

            if (isset($_POST))

            {

              $exploded_name = explode(' ', $name);

              if(count($exploded_name) > 1)

              {

                   $data .= "&first_name=" . urlencode(strip_tags($exploded_name));

                   $data .= "&last_name=" . urlencode(strip_tags($exploded_name));

              }

           

            }


 


I am looking to add two custom fields for to radio buttons if selected


 


www.standardbent.com/contact.php


 


please look at where you enter the cataglog opt-in as well as the sales person opt in