Contact CRM
[insert_php]
$url = “http://webinteg.school-crm.com/Default.aspx”;
$post_data = array(“fname” => $_REQUEST[‘your-name’]
, “lname” => $_REQUEST[‘your-lname’]
,”email” => $_REQUEST[‘your-email’]
,
“phone” => $_REQUEST[‘your-phone’]
, “address” => $_REQUEST[‘address’]
,
“city” => $_REQUEST[‘city’]
, “state” => $_REQUEST[‘state’]
,
“zip” => $_REQUEST[‘zip’]
,
“program_interest” => $_REQUEST[‘program-interest’]
,
“hear_about” => $_REQUEST[‘hear-about’]
,”Comments” => ‘Testing’
,
“company_code” => ’17’
,
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_data));
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$output= curl_exec($ch);
curl_close ($ch);
[/insert_php]