Who can help me! easy question!
| From: | monkey | Date: | Sat, 30 Aug 2003 05:22:33 +0000 |
| Subject: | Who can help me! easy question! | ||
| Groups: | php.db php.db | ||
| Request: | Send a blank email to php-db+get-30245@lists.php.net to get a copy of this message | ||
Hello all.
I run my php files in Win200+iis+MySQL+php , but it was some error in the file. I need help!
The error displayed:
-------------
PHP Notice: Use of undefined constant name - assumed 'name' in
c:\inetpub\wwwroot\NBV1\atom.php on line 146
PHP Notice: Undefined variable: nb_zxxx_org in c:\inetpub\wwwroot\NBV1\atom.php on line 146
-------------
My file :
-------------
$c=1;
while ($c>0)
{
$c=0;
$qr=mysql_query("select * from templatelib");
while($xxx=mysql_fetch_array($qr))
{
$ts="$".$xxx[name]."\r\n";
if ($$xxx[name]){continue;}
........
-------------
My datatable 'templatelib':
-------------
name varchar(30) NOT NULL default '',
content longtext,
id int(9) NOT NULL auto_increment,
mainsql varchar(255) default NULL,
b2 varchar(255) default NULL,
b3 varchar(255) default NULL,
level varchar(8) default NULL,
PRIMARY KEY (id),
UNIQUE KEY id_2 (id),
KEY id (id)
-------------
Thanks !