Learning PHP and MySQL

Example 03-03 Calling echo() and print()

<html>
    <
head>
        <
title>Hello World</title>
    </
head>
    <
body>
        <?
php

        
echo ("Hello world!<br />");
        print (
'Goodbye.<br />');
        print 
'Over and out.';

        
?> 
    </body>
</html>

Posted by on 07/06 at 02:38 PM

Next entry: PHP Variable

Previous entry: Example 03-02 Adding PHP Code to an HTML File

<< Back to main