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

How to convert a string to uppercase in php?

0 Answers  


for image work which library?

0 Answers  


Explain the difference between require() and require_once()?

0 Answers  


What is an anti csrf token?

0 Answers  


What is the difference between session_unregister() and session_unset()?

0 Answers  






Hello I m 1.5 exp, i want code : ms word to Html in php,retrieve the words in ms word in to dispaly browser in (same format,alignment). pls help me everybody Regards selva

0 Answers  


Can we learn php without html?

0 Answers  


What is full form of php? Who is the father or inventor of php?

0 Answers  


What is php resource type?

0 Answers  


Tell me what type of operation is needed when passing values through a form or an url?

0 Answers  


What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

11 Answers   HCL, Rushmore Consultancy, Thursday Technology,


What are the advantages and disadvantages of Cascading Style Sheets?

1 Answers  


Categories