0byt3m1n1
Path:
/
data
/
17
/
1
/
18
/
11
/
1670011
/
user
/
1801231
/
htdocs
/
application_old
/
[
Home
]
File: financial_application_step4.php
<? session_start(); require('../includes/config.php'); $temptable=session_id(); $fin_temp="finan_".$temptable; if($_POST['Submit2']=="Next >>") { $cph=$_POST['ph1']."-".$_POST['ph2']."-".$_POST['ph3']; if($_POST['rent']==true) { $ht="rent"; } else if($_POST['own']==true) { $ht="own"; } else if($_POST['others']==true) { $ht="others"; } $q_insert="update $fin_temp set `employer`='".$_POST['emp']."', `emp_city`='".$_POST['ccity']."', `emp_state`='".$_POST['cstate']."', `emp_zip`='".$_POST['czip']."', `emp_occu`='".$_POST['occu']."', `emp_phone`='".$cph."', `emp_for_y`='".$_POST['yr']."', `emp_for_m`='".$_POST['mm']."', `emp_gross`='".$_POST['pmo']."', `other_source`='".$_POST['osource']."', `emp_other_for_y`='".$_POST['oyr']."', `emp_other_for_m`='".$_POST['omm']."', `emp_other_gross`='".$_POST['omo']."'"; $r_insert=mysql_query($q_insert); if(!$r_insert) { echo mysql_error(); exit(); } } $_SESSION['co_applicant_status']="false"; if(isset($_POST['co_applicant'])) { $_SESSION['co_applicant_status']="true"; ?> <script language="JavaScript" type="text/javascript"> window.location='financial_application_step5.php'; </script> <? } else { ?> <script language="JavaScript" type="text/javascript"> window.location='financial_application_step9.php'; </script> <? } ?>