3 if (!empty($_POST[
'email']))
5 include
'../../../classes/db.php';
7 $request =
$db->quote($_POST[
'email']);
8 $bookingTable = mysqli_query(
$db,
"SELECT email FROM {plugin_booking} WHERE email = '".$request.
"' AND success = '1'");
9 $userTable = mysqli_query(
$db,
"SELECT email FROM {users] WHERE email = '".$request.
"'");
10 $res = mysqli_fetch_row($bookingTable);
13 $res2 = mysqli_fetch_row($userTable);