> Exelent, as I said I was playing devels advicate, I like PHP a lot, I am > trying to get someone else to use it to and they came up with this stuff. > > > if(condition) include 'file'; > > Is exactly what I was looking for. As 'if () {}' loaded, or at least > parsed things I did'nt think another form of if would be different ( RFM-;) > ). Maybe I should stop developing for a while and have a good wade through > the manual. Its so easy to do stuff in PHP it's easy to get lazy!
if(condition) { include 'file'; } is no different. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]