Code: Select all
<?=$variable?>They seem like the php start and end tags, but what does the "equal" sign do? I tried replacing it with:
Code: Select all
<?php $variable ?>It didn't work. Thanks to anyone who can help me.
Moderator: General Moderators
Code: Select all
<?=$variable?>Code: Select all
<?php $variable ?>Why not?watson516 wrote:Don't use it.
That begs for the next question, "why not?"watson516 wrote:<?=$variable?> is a short form of <?php echo $variable; ?>
Don't use it.
Told ya!jackpf wrote:Why not?watson516 wrote:Don't use it.