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 |
How can we get ip address of a client in php?
What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods?
What are the steps involved to run php?
Is python easier than php?
How can we determine whether a variable is set?
Which is true about the singleton design pattern?
How can we change the maximum size of the files to be uploaded?
what is the post and get method??
How does the identity operator ===compare two values in PHP?
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?
How can we enable error reporting in php?
i have designed a registration form in html (registration.html) and to insert user details in database i have designed a submit form in php (submit_registration.php) but when i click on submit button in registration.html it opens a dialogue box which asks for open or save php(submit_registration.php) even though i have already installed apache HTTP server and php version 5 on my computer and i am using mysql as backend. plz suggest me what should i do????