alert('No entries found! Please enter valid details'); window.location.href = 'admin-panel1.php#list-doc';"; } else { echo "
"; $fname = $row['fname']; $lname = $row['lname']; $email = $row['email']; $contact = $row['contact']; $doctor = $row['doctor']; $docFees= $row['docFees']; $appdate= $row['appdate']; $apptime = $row['apptime']; if(($row['userStatus']==1) && ($row['doctorStatus']==1)) { $appstatus = "Active"; } if(($row['userStatus']==0) && ($row['doctorStatus']==1)) { $appstatus = "Cancelled by You"; } if(($row['userStatus']==1) && ($row['doctorStatus']==0)) { $appstatus = "Cancelled by Doctor"; } echo ""; echo "
First Name Last Name Email Contact Doctor Name Consultancy Fees Appointment Date Appointment Time Appointment Status
$fname $lname $email $contact $doctor $docFees $appdate $apptime $appstatus
Back to your Dashboard
"; } } ?>