$this->TRAIL = $trail
| From: | olinux | Date: | Sat, 03 Nov 2001 00:35:59 +0000 |
| Subject: | $this->TRAIL = $trail | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-13963@lists.php.net to get a copy of this message | ||
Can someone explain what this is, either in the
context below or just in general. I do not understand
what this statement means?
10 var $TRAIL = array();
129 while ( $row = mysql_fetch_array($results))
130 {
131 $trail = $this->TRAIL;
132 $count = count($trail);
133 $trail[$count] = $row;
134 $this->TRAIL = $trail;
135 $id = $row["CatParent"];
136 $this->get_Parents($id);
137 }
sql query is "SELECT CatID,CatParent,CatName from
Categories where CatID = $CatID";
Lines excerted from phpHoo article here:
http://www.webreference.com/perl/xhoo/php1/
Thanks,
olinux
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com