I'm following a PHP/AJAX tutorial on form validation. (I'm new to php!).
Could someone explain the syntax of this line:
<?=@$_REQUEST['username']?>
The context is the value
attribute of an input
field.
I know how $_REQUEST
works. I just don't get the <?=@
part. I understand <?
can be used in lieu of <?php
(but isn't always supported!) and <?=$variable?>
is special syntax for echoing variables. What does the @
symbol do?
Thanks.
Links: