Re: Who can help me! easy question!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 !
>
>
>
>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux