quote:
Originally posted by Tech-Ni-Kal:
Heh. You just shot all my hopes of understanding PHP with that snippet. I think mainly cause I don't understand what $detflag is and such. :-D
So basically, I could just have a a few rows, like linktitle, linkurl, and than call it via row? Then have it out put the link with | and then cut the | on the last one?
$detflag was a variable I used to determine permissions on whether to display a certain line or not. If you look on my main page, you don't see some of the links based off of permissions. I have a secion of links just for my admins that show up for the Admin Tools, Forum CP, and the Moderator's forum. The $detflag variable is checked before I display an item, and if permissions are NOT met, then the item is not displayed.
I just snipped out all of my UBB Authentication checking before I posted that snippet, even though a couple of the pages are checked for permissions before being displayed.