Re: PHP is making errors for no apparents reason..?
| From: | michael kimsal | Date: | Sat, 27 Apr 2002 12:44:52 +0000 |
| Subject: | Re: PHP is making errors for no apparents reason..? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94888@lists.php.net to get a copy of this message | ||
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