Re: newbie: question about question marks
| From: | Alexander Ross | Date: | Tue, 09 Jul 2002 13:54:24 +0000 |
| Subject: | Re: newbie: question about question marks | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106356@lists.php.net to get a copy of this message | ||
How bout the question marks in the following line of php generated html:
<input type = hidden name = parent value = <?=$parent;?>
what do they mean?
"Miguel Cruz" <mnc@stoic.net> wrote in message
news:Pine.LNX.4.44.0207072139290.29387-100000@stoic.net...
> On Sun, 7 Jul 2002, Alexander Ross wrote:
> > Can someone explain to me what the ? does. I have a vague idea of what
> > it means in a URL (please cearify that) but I haven't the slightest what
> > it means in php code. Thanks for your help
>
> Read about the ternary operator at:
>
>
> http://www.php.net/manual/en/language.operators.comparison.php
>
> miguel
>