'done'")); $comp_ids=$selcid['comp_id']; $upd="update cms_company_details_temp set contact_person='$pheading', comp_address='$address', phone='$phonexx', mobile='$mobilexx', businessdes='$businessdesxx', designation='$designationxx', country='$countryxx', city='$cityxx', state='$statexx', fax='$faxxx', mode='request', email='$emailxx' where comp_id='$comp_ids'"; $exqry=mysql_query($upd) or die (mysql_error()); $url="thank-you.html?upd=sucess"; Header("Location:$url") or die("Header"); }else{ $insert="insert into cms_company_details_requested set comp_id='$comp_id', contact_person='$pheading', comp_address='$address', phone='$phonexx', mobile='$mobilexx', businessdes='$businessdesxx', designation='$designationxx', country='$countryxx', city='$cityxx', state='$statexx', fax='$faxxx', mode='request', email='$emailxx'"; $exqry=mysql_query($insert) or die (mysql_error()); $url="thank-you.html?upd=sucess"; Header("Location:$url") or die("Header"); } } ?>