06-08-2008, 08:59 PM
|
#4 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by Peuplarchie
I meant, if I run the script it will first display an <ul>
I need it to strat with the ;
PHP Code:
if ($isleaf) { $isleaf=false; echo "<ul>\r"; } echo "<li><a href=\"http://test.com/test_images.php?folder=$file\" class=\"blue0\">$filed</a></li>\r";
The <ul> for the first level is already open before in the page.
this piece of code is only for the next level of folder.
|
So I think i see what your trying to do, you're trying to set $isleaf to false so that the condition will stop, and ul wont show up? correct?
__________________
VillageIdiot can have my babbies ;d
|
|
|
|