Who can help me! easy question!

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

 



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 !





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

  Powered by Linux