Login   Register  
PHP Classes
elePHPant
Icontem

Undefined variable $lr

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      SQL Parse Convert to Tree Array  >  All threads  >  Undefined variable $lr  >  (Un) Subscribe thread alerts  
Subject:Undefined variable $lr
Summary:Notice: Undefined variable $lr in dqml2tree.php on line 359
Messages:2
Author:Michael Hansen Buur
Date:2011-02-08 10:46:39
Update:2011-02-08 10:53:30
 

  1. Undefined variable $lr   Reply   Report abuse  
Picture of Michael Hansen Buur
Michael Hansen Buur
2011-02-08 10:46:43
There is a minor issue with an undefined variable:

Notice: Undefined variable: lr in /home/www/dqml2tree.php on line 359

I guess the variable should be preinitialized to zero somewhere, but it is not clear if it is enough to do it once, or if it is something needed to be done prior to each loop in function _makeInterBranches

  2. Re: Undefined variable $lr   Reply   Report abuse  
Picture of Michael Hansen Buur
Michael Hansen Buur
2011-02-08 10:53:30 - In reply to message 1 from Michael Hansen Buur
Forgot to mention these:

Notice: Undefined index: _a in /home/www/dqml2tree.php on line 323
Notice: Undefined index: _a in /home/www/dqml2tree.php on line 323
Notice: Undefined index: _a in /home/www/dqml2tree.php on line 470
Notice: Undefined index: _z in /home/www/dqml2tree.php on line 470