|
Webmaster Section: PHP Help
I know a little PHP, so I made a help section for it.
At the beginning of making a PHP code, you start like this.
And you end it like this
?>
PHP involves naming variables. I am clearly not an expert at PHP so just
bear with me.
Heres an example script I wrote.
<?
print ("hello world!<br>\n") ;
?>
Heres another one, which is a bit more complicated.
Todays Date: <? print (Date ("1 F d, Y") ) ; ?>
This is the last one I'll show you, this one is one I just wrote.
<?
print ("You're using ") ;
print ($HTTP_USER_AGENT) ;
print (" to see this page.<br>\n") ;
?>
Thats it for now. Cya!
Thanks Go To:
http://www.johtovillage.com
|