Determine if this folder is the last level within that folder?
I'm working on a script and this script list folder in a html list.
Here is the code;
- Folder 1
- Folder 2
The deal here is that I could go by CSS level of list but my problem is that sometime there is more subfolder yhat this example.
Is there a way that I can tell the last level folder to be written in bold ?
Use a for() loop in conjunction with count/sizeof(), and if $i < $count-1, you're on the last file.
|All times are GMT. The time now is 11:27 AM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0