Re: [PHP] Re: newbie question - php parsing

2009-07-23 Thread Sebastiano Pomata
Thanks, it's now much more clear. I thought that html parts outside php tags were just dumped to output, no matter of if-else statements and other conditions. I was *definitely* wrong 2009/7/23 Peter Ford : > In response to Sebastiano: > > There would be not much point in using something like PHP

[PHP] newbie question - php parsing

2009-07-22 Thread Sebastiano Pomata
Hi all, A little doubt caught me while I was writing this snippet of code for a wordpress template: I always thought that php was called only between the tags, and I'm pretty sure that's right, while HTML code was simply wrote in document as is, without further logic. Now, I can't figure out