Advertisement
Guest User

Untitled

a guest
Jul 25th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. $search = 'NEW';
  2. $query = "SELECT id, first_name, middle_name, last_name, age, month, day, year, birth_place, gender, martial_status, religion, nationality, email_address, address_1, address_2, course, school_graduated, remarks, note, date_added, crew_status, image_name, updated_photo, passport_registration, passport_expiration FROM `crew_info` WHERE `crew_status` = ?";
  3. $stmt = mysqli_prepare($conn, $query);
  4. mysqli_stmt_bind_param($stmt, 's', $search);
  5. mysqli_stmt_execute($stmt);
  6. mysqli_stmt_bind_result($stmt, $id, $first_name, $middle_name, $last_name, $age, $month, $day, $year, $birth_place, $gender, $martial_status, $religion, $nationality, $email_address, $address_1, $address_2, $course, $school_graduated, $remarks, $note, $date_added, $crew_status, $image_name, $updated_photo, $passport_registration, $passport_expiration);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement