Quote: -------- here is the code: if($_GET['query']==new) { filter($query);} elseif($_GET['query']==some'u'all) { filter($query);} elseif($_GET['query']==all'u'ppl) { filter($query);} -------- Did you forget about "" around the strings? /Peter www.dwsasia.com - company web site www.lauri.se - personal web site www.carbonfree.org.uk - a way to reduce your carbon emissions and be a helping hand in the struggle against global warming -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php