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] Re: newbie question - php parsing

2009-07-23 Thread Peter Ford
João Cândido de Souza Neto wrote: > You made a mistake in your code: > > > > must be: > > > Not necessarily: what if you have function the_title() { echo "Title"; } for example... In response to Sebastiano: There would be not much point in using something like PHP if it ignore

[PHP] Re: newbie question - php parsing

2009-07-22 Thread Shawn McKenzie
João Cândido de Souza Neto wrote: > You made a mistake in your code: > > > > must be: > > > I haven't used worpress in a long time, but the the_title() function might echo the title unless you pass the FALSE parameter, in which case it just returns it. -- Thanks! -Shawn http://www.spidea

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

2009-07-22 Thread Martin Scotta
This is how I'd write this snippet ', $title, ''; } ?> On Wed, Jul 22, 2009 at 6:31 PM, Lenin wrote: > Ted Turner > - > "Sports is like a war without the killing." > > 2009/7/23 Shane Hill > > > 2009/7/22 João Cândido

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

2009-07-22 Thread Lenin
Ted Turner - "Sports is like a war without the killing." 2009/7/23 Shane Hill > 2009/7/22 João Cândido de Souza Neto > > > You made a mistake in your code: > > > > > > > > must be: > > > > > > > Short tag and not recommended

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

2009-07-22 Thread Shane Hill
2009/7/22 João Cândido de Souza Neto > You made a mistake in your code: > > > > must be: > > also works. -Shane > > > -- > João Cândido de Souza Neto > SIENS SOLUÇÕES EM GESTÃO DE NEGÓCIOS > Fone: (0XX41) 3033-3636 - JS > www.siens.com.br > > "Sebastiano Pomata" escreveu na men

[PHP] Re: newbie question - php parsing

2009-07-22 Thread Jo�o C�ndido de Souza Neto
You made a mistake in your code: must be: -- João Cândido de Souza Neto SIENS SOLUÇÕES EM GESTÃO DE NEGÓCIOS Fone: (0XX41) 3033-3636 - JS www.siens.com.br "Sebastiano Pomata" escreveu na mensagem news:70fe20d60907221355m3fa49a75ua053d2f1b9aca...@mail.gmail.com... > Hi all, > > A lit