RE: [PHP] Re: ternary operator sintax help

2009-10-06 Thread MEM
t: Re: [PHP] Re: ternary operator sintax help > > just as ashley said it. > > > On 10/6/09 3:26 PM, "MEM" wrote: > > > Sorry all, > > It's ok. The sintax: > > > > > class="mensagemErro">'.$erros['anexo'].

Re: [PHP] Re: ternary operator sintax help

2009-10-06 Thread Tom Worster
just as ashley said it. On 10/6/09 3:26 PM, "MEM" wrote: > Sorry all, > It's ok. The sintax: > > class="mensagemErro">'.$erros['anexo'].'' :''); ?> > > Was right all the time. > > Anyway, I've learn something new: having a var with '' is not the same thing > as not been unset. So we must pa

Re: [PHP] Re: ternary operator sintax help

2009-10-06 Thread Philip Thompson
On Oct 6, 2009, at 2:26 PM, MEM wrote: Sorry all, It's ok. The sintax: '.$erros['anexo'].'' :''); ?> Was right all the time. Anyway, I've learn something new: having a var with '' is not the same thing as not been unset. So we must pay attention on what cases we use isset, or !empty. T

RE: [PHP] Re: ternary operator sintax help

2009-10-06 Thread MEM
Sorry all, It's ok. The sintax: '.$erros['anexo'].'' :''); ?> Was right all the time. Anyway, I've learn something new: having a var with '' is not the same thing as not been unset. So we must pay attention on what cases we use isset, or !empty. Thanks a lot, Márcio > -Original Message-