query($Query_m); $rowsss_m = mysql_fetch_array($Query_m); $email_id=$rowsss_m['email_id']; $mailcopy=$rowsss_m['email_id']; $date=$rowsss['date']; $me_id=$rowsss_m['mem_id']; $order_id=$rowsss_m['id']; $ap_date= $rowsss_m['appointment_date']; $ap_hour= sprintf("%02d",$rowsss_m['hour_date']); $ap_min= sprintf("%02d",$rowsss_m['min_date']); $ap_sec= $rowsss_m['am_date']; $Query_m_a = mysql_query("SELECT * from `tbl_member` where id='$me_id' "); //$namesss_m_a=$DB->query($Query_m_a); $no_m_a=mysql_num_rows($namesss_m_a); $row_m_a = mysql_fetch_array($Query_m_a); $firstname= $row_m_a['name']; $skypeid=$row_m_a['skypeid']; sprintf("%02d", $to_hour); $Msg1 = '
Dr. G.ANBUGANAPATHI
Cancelled Appointment Details
Hi '.$firstname.' your appointment with Dr. G.ANBUGANAPATHI on '.$ap_date.' '.$ap_hour.':'.$ap_min.':'.$ap_sec.'(Indian Standard Time (IST)) is Cancelled.Sorry For the inconvenience.
* Consultation fees will be refunded with in 3-4 bank working days.
Copyright © 2020 - dranbuganapathi.com, All Rights Reserved.
'; $job_name14357="Appointment Cancellation in Dr. G.ANBUGANAPATHI"; $Subjectnew123 = "$job_name14357-$order_id"; $Subject1="Appointment Confirmation in Dr. G.ANBUGANAPATHI"; //echo $mailformat; //$mailheaders = "Content-type: text/html; charset=iso-8859-1\r\n"; $useremail="drganbuganapathi@gmail.com"; $headers1 = "From: dranbuganapathi.com\r\n"."Content-Type: text/html; charset=iso-8859-1\r\n"; $Msg1; @mail($useremail,$Subjectnew123,$Msg1,$headers1); @mail($mailcopy,$Subject1,$Msg1,$headers1); //$Delete_Question = "DELETE FROM tbl_appointment WHERE `id`='$id'"; //$Result_Question = mysql_query($Delete_Question); ////$Query_delete = "DELETE from tbl_appointment where id='$id'"; //$name_delete=$DB->query($Query_delete); header("location:my-account1.php?msg=sucess"); } ?> My Account