PHP Questions Home | Register | Login
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website
Unanswered

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

How do I print text to the screen?


This is very simple, however we all need to start somewhere.

Just for fun, there are a couple of ways of doing this:

<?php
echo "Please don't make me say it... \n";
print 
"Hello World!";
?>


Prints this:

Please don't make me say it...
Hello World!



Comment on this Question and Answer >>>

ASK A QUESTION

More strings PHP Questions

What is the difference between join and implode in PHP?

How do I calculate the metaphone of a string?

How do I make the contents of a string upper case?

How do I make the first letter of each word upper case?

How do I remove trailing whitespace?



Custom Search