Forum Moderators: coopster
PHP generates whatever you tell it. So, for example, if you wanted to generate an entire web page in PHP you merely echo the HTML source to the browser like this:
<?phpThe same follows suit for any other device you are sending the output.
echo '<html>';
echo '<head>';
echo '<title>Title</title>';
echo '</head>';
echo '<body>';
echo '<p>Hello!</p>';
echo '</body>';
echo '</html>';
?>