How many ways we can give the output to a browser?
Answers were Sorted based on User's Feedback
Answer / devendrarjadav
With the use of echo() and print() function we can give
output to a browser.
| Is This Answer Correct ? | 8 Yes | 0 No |
Use
1. print()
2. echo()
3. printf() functions to give the output to a browser.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / koushikgraj
die('print this value');
will also give output to the browser. but it will stop
execution after this
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / jaimin desai
1. print()
2. echo()
3. printf()
4.<?= and?>
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the functionality of the function strstr and stristr?
Which function is used in php to delete a file?
How can i change the extension name like i have a page which name aboutme.php but i want to show it aboutme.php3 or aboutme.aspx?
What are the uses of php language?
How to convert a string to lowercase in php?
What is a php trait?
Define soundex()?
What is difference between isset and empty in php?
1.Where are the sessions storing ? 2.What are the contents of a session file ? 3.If the server is loaded with too many session files there is a possibility of server crash. How can we solve this issue? 4. How does php server identify that the particular session belongs to particular user ? For ex: If two users A and B logged from different machine, separate session files (say 1 and 2) will be created in the server. But how the php knows that 1 belongs to A and 2 belongs to B ?
Does php need a closing tag?
What are the Advantages and Application Areas of PHP?
Why php 7 is faster?