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 |
Which is better session or cookie?
Explain what are psrs?
What are the uses of explode() function?
What are the benefits of composer?
What is the use of header() function in php?
how to run PHP in command line?
8 Answers InfoShore, Ramp Green, Xtreeme,
What does the function get_magic_quotes_gpc() means?
What is the difference between implode() and explode() in php?
What are the 5 types of variables?
Tell me how is it possible to parse a configuration file?
Tell me how stop the execution of a php scrip?
Write a PHP code to print following number pattern: 123 456 789