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 are the rules to be followed at the time of declaring a variable?,what is the purpose of var_dump()function in php,syntax of ternary operator()in php,difference between drop a table and truncate a table...
Does php class need constructor?
how to open & closing opening period in fico
what are the errors and when we get that particular errors.and who will give that errors
What is difference between session and cookie in PHP?
What are the advantages of php?
Is echo a function in php?
How to set a value in session? How to remove data from a session?
Why do we use hooks?
Write an example to remove html tags from a string in php?
What is input sanitization in php?
What is implode() in php?