";print_r($_REQUEST);die; //step2 $sentid = $_REQUEST['sentid']; //print_r($sentid);die; $electricity_supplier = $_REQUEST['electricity_supplier']; $gas_supplier = $_REQUEST['gas_supplier']; $water_supplier = $_REQUEST['water_supplier']; $council_tax = $_REQUEST['council_tax']; $sewage = $_REQUEST['sewage']; $refuse_collected = $_REQUEST['refuse_collected']; $drainage = $_REQUEST['drainage']; $saniflo_location = $_REQUEST['saniflo_location']; $account_no1 = $_REQUEST['account_no1']; $telno_no1 = $_REQUEST['telno_no1']; $provider1 = $_REQUEST['provider1']; $account_no2 = $_REQUEST['account_no2']; $telno_no2 = $_REQUEST['telno_no2']; $provider2 = $_REQUEST['provider2']; $installation_property = $_REQUEST['installation_property']; $first_time= $obj->select("*","tbllandlord","linksent_id='$sentid'");//print_r($first_time); $second_time= $obj->select("id","tbllandlord","linksent_id='$sentid' "); $secondtimeid=$second_time[0][0]; $insertdata1 = $obj->update("tbllandlord2","e_supplier='$electricity_supplier',g_supplier='$gas_supplier',w_supplier='$water_supplier',c_tax='$council_tax',sewage='$sewage',refuseday='$refuse_collected',drainage='$drainage',installation='$installation_property',saniflo_location='$saniflo_location',account_no_line_1='$account_no1',tel_no_line_1='$telno_no1',provider1='$provider1',account_no_line_2='$account_no2',tel_no_line_2='$telno_no2',provider2='$provider2'","landlordformid='$secondtimeid'"); echo 1; ?>