October 2009
Beginner
408 pages
7h 27m
English
To see the data that you're processing, you need a way to send it as output. This enables you to display the contents of a variable in the browser to your users.
There are several ways to send output, but the most common methods are the commands echo(), print(), printf(), and sprintf(). There are differences in how you use each of these, but the result is the same: something is output for display in the browser.
It's important to have a solid understanding of your options when sending output to the browser, so I'll go over the different statements available, how they work, and what special properties are associated with each.
NOTE
Whenever I introduce a language ...
Read now
Unlock full access