RE: [PHP] ternary operator sintax help

2009-10-06 Thread MEM
: [PHP] ternary operator sintax help On Tue, 2009-10-06 at 19:43 +0100, MEM wrote: Hello all, I'm trying to display a div, only when some php value is set. Since this will be near html, I'd like to keep it on one line. So, I'd love to use shortcuts and a ternary operator for the effect. I'm

Re: [PHP] ternary operator sintax help

2009-10-06 Thread Ashley Sheridan
On Tue, 2009-10-06 at 19:43 +0100, MEM wrote: Hello all, I'm trying to display a div, only when some php value is set. Since this will be near html, I'd like to keep it on one line. So, I'd love to use shortcuts and a ternary operator for the effect. I'm having something like this right