,'); $serviceqry2=Query("select * from tbl_service where str_title='Sea Freight'"); $roservice2=mysql_fetch_array($serviceqry2); $servicecontent2=strip_tags(stripslashes($roservice2['str_description']),'
,'); $serviceqry3=Query("select * from tbl_service where str_title='Overland Transport'"); $roservice3=mysql_fetch_array($serviceqry3); $servicecontent3=strip_tags(stripslashes($roservice3['str_description']),'
,'); if(isset($_POST['text_field'])) { //print_r($_POST); $contact_email= $_POST['text_field']; if($contact_email !="") { $condn = "contact_email= '$contact_email'"; } if(search_record("newsletter_contacts", $condn) == 1) { // $msg="Your email id is already with us.."; //$msg=1; header("Location:content.php?id=1"); } if((search_record("newsletter_contacts", $condn) != 1) && $contact_email !="") { $qry="INSERT INTO newsletter_contacts (contact_email,start_date,mail_format,date_added,active) VALUES ('$contact_email','".date('Y-m-d')."','html','".date('Y-m-d')."',1)"; if(Query($qry)); // $msg="Your email id is added to our subscriber list.."; //$msg=2; } unset($_POST); header("Location:content.php?id=2"); } ?> Cargo Agent |Freight forwarder | Logistics Company