Re: presenting a failed form for re-entry.
| From: | Robin Vickery | Date: | Fri, 08 Sep 2000 08:51:50 +0000 |
| Subject: | Re: presenting a failed form for re-entry. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15843@lists.php.net to get a copy of this message | ||
DayWalker@TheMatrix.com ("Daevid Vincent") writes:
> > <input name='foo' value='<?=$foo;?>'>
> > <?=$mark['foo'];?> <br>
> > <input name='bar' value='<?=$bar;?>'>
> > <?=$mark['bar'];?> <br>
>
> huh? what does the <?=$bar;?> do? don't you mean <? echo $bar; ?>
> is = a shortcut for something? I've never seen that before...
It does the same thing as <? echo $bar; ?>
I usually don't use it on the grounds that the reduction in
readability isn't worth the four characters of typing it saves.
-robin
--
Robin Vickery...............................................
Planet-Three, 3A West Point, Warple Way, London, W3 0RG, UK
Email: robin@planet-three.net Phone: +44 (0)870 729 5444