Appointment Calendar
prefix . "booked_appointments";
if($app_add_flag == "true")
{
$insert_booking = "INSERT INTO $table_name (
`bk_ap_id` ,
`bk_ap_name` ,
`bk_ap_email` ,
`bk_ap_service` ,
`bk_ap_cellno` ,
`bk_ap_sttime` ,
`bk_ap_edtime` ,
`bk_ap_stdate` ,
`bk_ap_eddate` ,
`bk_ap_desc`
)
VALUES (
NULL , '$name', '$email', '$service', '$cellno', '$sttm', '$edtm', '$stdt', '$eddt', '$desc'
);";
$wpdb->query($insert_booking);
}
}
?>
prefix . "calendar_event";
$x = $wpdb->get_results("select * from $table_name");
foreach( $x as $xx)
{
$xtitle[] = $xx->ev_title;
$xst[] = $xx->ev_start_time;
$xet[] = $xx->ev_end_time;
}
?>
";*/
for($j=0; $j<=$d; $j++)
{
?>
{
title: '',
start: new Date(, , , ),
end: new Date(, , , ),
allDay: false
},
],
textColor: 'yellow',
backgroundColor: 'black',
}
]
});
});