1.<?php
echo'bsfjbsnmfbs';
?>
2.<?
ech'hjndfjkshf';
?>
3
<?
echo'naskfdjnask';


three programs are exected but which is beter why

Answers were Sorted based on User's Feedback



1.<?php echo'bsfjbsnmfbs'; ?> 2.<? ech'hjndfjkshf'; ?> 3 <..

Answer / soni

1.<?php
echo'bsfjbsnmfbs';
?>
It's beter to excuted.

Is This Answer Correct ?    31 Yes 2 No

1.<?php echo'bsfjbsnmfbs'; ?> 2.<? ech'hjndfjkshf'; ?> 3 <..

Answer / ritu

<?php
echo'bsfjbsnmfbs';
?>

this is better way to execute..

Is This Answer Correct ?    11 Yes 0 No

1.<?php echo'bsfjbsnmfbs'; ?> 2.<? ech'hjndfjkshf'; ?> 3 <..

Answer / 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

More PHP Interview Questions

what is code for email sending through localhost pc..?

2 Answers  


Tell me how to find current date and time?

0 Answers  


What is php and what does it do?

0 Answers  


What is http php?

0 Answers  


How do you sort an array in php?

0 Answers  






What is the meaning of ‘escaping to php’?

0 Answers  


How to find the index of an element in an array php?

0 Answers  


how to upload a file in php.write a syntex for that

1 Answers   Net Solution,


Whether php supports microsoft sql server?

0 Answers  


How can we destroy the session, how can we unset the variable of a session?

5 Answers  


Explain php split() function.

0 Answers  


Who is the father or inventor of php?

0 Answers  


Categories