I can answer part of your question, this is like C and C++ where doing if variable followed by a code block and an endif actually asks the question if variable is true then do code block followed by endif. That's where that got lifted. Rot47: <;F56]52D9:6==@?2GJ]>:=> -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex Hall Sent: Wednesday, March 11, 2009 14:02 To: programmingblind@xxxxxxxxxxxxx Subject: if statements in html Hi all, I am confused after looking at some files in the "templates" folder of phpbb3. The files have "if" statements inside html comments. an example might be: IF _file.FILE_COMMENTS [code for a list is put here that echos the file's comments like: {_file.FILE_COMMENTS} then the list is closed ENDIF I have two questions: 1. If there are a lot of files, how does that list get populated with all of them since there is no looping? 2. What are these statements anyway? I can figure out what they do, but how can you use if statements in html at all? There is no xslt, which is the only way I have ever heard of of doing this. Have a great day, Alex __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind