In that case, the question marks are part of the PHP opening and closing tags.
There are several ways to open and close sections of PHP script, mainly being <?php ?>, <? ?>, and <% %>. What the below equals is <?php echo $parent; ?>, since <?= is the equivalent of saying "echo" or "print" the following. Hope that wasn't too jumbled. :o) Martin Clifford http://www.completesource.net (Now Open!) >>> "Alexander Ross" <[EMAIL PROTECTED]> 07/09/02 09:54AM >>> 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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php