hi,
is it posible to use an "exists in" type expression in the php if statement that does the same thing as the mysql "WHERE results LIKE '%".$_GET['q']."%'".
e.g.
<?php
if('JohnDoe' exists in 'BillGates, JohnDoe, PeterGriffin') {
echo 'JohnDoe exists in the list.';
}
?>
edit:
missed out that i need an if "doesn't exist in" aswell