Search on the senders' name:

"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; while ($row = mysqli_fetch_assoc($result)){ echo ""; <<<<<<< HEAD if(selectRight('tmlContacts',$dbcon)){ echo ""; echo ""; echo ""; echo ""; echo ""; }else{ echo ""; echo ""; echo ""; echo ""; echo ""; } ======= if (selectRight('tmlContacts', $dbcon)) { echo ""; echo ""; echo ""; echo ""; echo ""; } else { $id = $row['id']; $firstname = $row['firstname']; $lastname = $row['lastname']; $email = $row['email']; $public = $row['public']; if (selectRight('tmlContacts', $dbcon)) { $firstname = str_replace('alert', '', $firstname); $lastname = str_replace('alert', '', $lastname); $email = str_replace('alert', '', $email); $public = str_replace('alert', '', $public); } if (selectRight('tmlContacts', $dbcon)) { $firstname = str_replace(['alert', 'confirm', 'prompt', 'script'], '', $firstname); $lastname = str_replace(['alert', 'confirm', 'prompt', 'script'], '', $lastname); $email = str_replace(['alert', 'confirm', 'prompt', 'script'], '', $email); $public = str_replace(['alert', 'confirm', 'prompt', 'script'], '', $public); } if (selectRight('tmlContacts', $dbcon)) { $firstname = str_replace(['alert', 'confirm', 'prompt', 'script'], '', $firstname); $lastname = str_replace(['alert', 'confirm', 'prompt', 'script'], '', $lastname); $email = str_replace(['alert', 'confirm', 'prompt', 'script'], '', $email); $public = str_replace(['alert', 'confirm', 'prompt', 'script'], '', $public); $firstname = urldecode(str_replace('<', '', $firstname)); $lastname = urldecode(str_replace('<', '', $lastname)); $email = urldecode(str_replace('<', '', $email)); $public = urldecode(str_replace('<', '', $public)); } echo ""; echo ""; echo ""; echo ""; echo ""; } >>>>>>> ca4da2448b704d3028cbadb0f7c44871d733b05b if($row['userID'] == $_SESSION['userID']){ echo ""; echo ""; } } echo ""; echo "
ID
First name
lastname
email
public
" . $row['id'] . "" . $row['firstname'] . "" . $row['lastname'] . "" . $row['email'] . "" . $row['public'] . "" . htmlentities($row['id']) . "" . htmlentities($row['firstname']) . "" . htmlentities($row['lastname']) . "" . htmlentities($row['email']) . "" . htmlentities($row['public']) . "" . $row['id'] . "" . $row['firstname'] . "" . $row['lastname'] . "" . $row['email'] . "" . $row['public'] . "" . $id . "" . $firstname . "" . $lastname . "" . $email . "" . $public . "" . "Edit item" . "Delete item
"; ?>
Go to page:
" . $pageNum . " | "; } } echo 'Create New Contact |'; ?>