<?= $arse; ?>

...is a concise, if less readable way, to echo the value of arse. It is only
used to echo a value. To do anything else, for example, call a method, use
the second approach you describe. In fact, you already seem to know the
difference, so why the question? Are you trying to replace this notation in
exisiting code?

On 08/04/06, Merlin <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> I am somehow confused about the this command: <?=
>
> What does the equetion sigh mean?
>
> I would like to replace the <?= sign inside this line:
>
>
>          <?= $ajax->loadJsApp(true) ?>
>
> so I could do something like this:
> <?php
>      $ajax->loadJsApp(true);
>      echo 'test';
> ?>
>
> But this does not work. Some how this equetion sign has something to do
> with it.
>
> Thank you for any hint,
>
> Merlin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
http://www.web-buddha.co.uk
dynamic web programming from Reigate, Surrey UK

look out for e-karma, our new venture, coming soon!

Reply via email to