1.<?php
echo'bsfjbsnmfbs';
?>
2.<?
ech'hjndfjkshf';
?>
3
<?
echo'naskfdjnask';
three programs are exected but which is beter why
Answer Posted / sandhya
<?php
echo'bsfjbsnmfbs';
?>
is the correct way to execute.
Why because..
In asp also the tags will be <? ?> like this, some servers
don't know whether it is php or asp.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What is the role of php?
How to check your php installation?
What does namespace mean in php?
What is the purpose of using php?
What are php parameters?
What are the difference between echo and print?
What are major variables in research?
Where is my php ini file?
What are different types of errors available in Php?
What is active record in php?
Explain about switch statement in PHP?
Explain the difference between static and dynamic websites?
What is the use of hooks?
what is variable scope, which variables are accessible from where and what are "undefined variable" errors?
What is strlen function in php?