"; //} //if($hasWriteAccess) //{ $edit_link=""; //} //if($hasExecuteAccess) //{ $delete_link=""; //} $credit_to=$row1['credit_to']; $credit_to_name=""; if($credit_to=="1"){ $credit_to_name="All Employees"; }else if($credit_to=="2"){ $credit_to_name="Employee Categories"; }else if($credit_to=="3"){ $credit_to_name="Specific Employee"; } $employee_categories=""; $emp_cat_ids=array(); if($row1['emp_cat_id']!=null && $row1['emp_cat_id']!=""){ $emp_cat_ids= explode(",",$row1['emp_cat_id']); for($i=0;$i ENTER your email below we'll send your password to your email

"; if(isset($_POST['forgot_pass'])){ $c_email=$_POST['c_email']; $sel_c="select * from users where email='$c_email'"; $run_c=mysqli_query($conn,$sel_c); $r = mysqli_fetch_assoc($run_c); echo $r['email']; $check_c=mysqli_num_rows($run_c); if($check_c==0){ echo""; exit(); } else{ $from='py27091998@gmail.com'; $subject="your password"; $message="

dear $c_email

your requested password

your password is

thank you for using our website

"; mail($c_email,$subject,$message,$from); echo""; echo""; } } } */ ////////////////////////////////////////////////////////////////////////////////////////////////////// $data['rows'][] = array( 'id' => $row1['assign_checkup_id'], 'cell' => array($count++,$credit_to_name, $employee_categories,$checkup_schedule,date_format(date_create($row1['date_assigned']),"d-M-Y "),$links) ); } // error_log("data: ".print_r($data, true)); echo json_encode($data); ?>