get_row( "select * from $wpdb->prefix" . "apt_appointments WHERE id = $fetch_var " ); $appointment_staff_details = $wpdb->get_results( "select * from $wpdb->prefix" . "apt_staff" ); $appointment_category_details = $wpdb->get_results( "SELECT * from $wpdb->prefix" . "apt_category" ); $appointment_client_details = $wpdb->get_results( "SELECT * from $wpdb->prefix" . "apt_clients" ); } ?>