Re: Who can help me! easy question!
| From: | yohomonkey | Date: | Sat, 30 Aug 2003 10:56:09 +0000 |
| Subject: | Re: Who can help me! easy question! | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30247@lists.php.net to get a copy of this message | ||
thanks all!
i need help!
"Monkey" <yohomonkey@yahoo.com.cn> дÈëÏûÏ¢ÐÂÎÅ
:004901c36eb6$bdbe1480$0500a8c0@huang...
> 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 !
>
>
>
>
>