if (!$chck) { $zquery = "SELECT name from users WHERE handle like '$row[handle]'; $zres = mysql_query($zquery); $zrow = mysql_fetch_array($zres); $user = $zrow[name]; $query = "INSERT into husers values (\'$row[handle]\' , \'$user\')"; mysql_query($query); }
The first "select" line doesn't end its quotes properly. Michael Kimsal http://www.phphelpdesk.com Guanrateed PHP support when you need it 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php