Just so there is no confusion...I mistyped the line: $names = substr(strrchr($_SERVER['QUERY_STRING'],"&"),7,1); It should be a 5 instead of a 7 at the end: $names = substr(strrchr($_SERVER['QUERY_STRING'],"&"),5,1); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php