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 $_ request?
What is the functionality of md5 function in php?
What are php errors?
Why do we show php code in browser?
Is java is better than php?
What are the functions to be used to get the image's properties (size, width and height)?
Can we embedded directly PHP code into XHTML document? State Whether True or False?
How can I embed a java program in php file and what changes have to be done in php.ini file?
What is associative array in php?
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?
How to open a file in php?
What should we do to be able to export data into an excel file?