Brian,
>From your side you shouldn't see any difference between html pages and
php pages.
PHP scripts are embedded within html pages, the *server* executes these
scripts when you request a page. Usually the PHP will output some text
or html which ends up in the page.
A PHP script that looks like this on the server::
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
Will result in the server sending this to your browser:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<p>Hello World</p>
</body>
</html>
So it can be as simple as putting the current date on a page to
accessing previously uploaded information from a database such as MySQL.
Many applications use it:
The online classifieds system I wrote. Example site:
http://www.countrycars.com.au
The free online gallery system, Gallery available from
http://gallery.menalto.com/ Example site:
http://photo.whizzkid.co.uk/main.php
Content Management system, Drupal (also free) available from
http://drupal.org/ Example site: http://gallery.menalto.com/
Of course, I must mention the TOPE site: http://www.tope.nl/
For a quick intro to PHP, I would recommend the tutorial on the PHP
site: http://www.php.net/tut.php
I know I'm not the only person on the list with some knowledge of PHP,
but feel free to drop me a mail off-list if you want any more info.
Regards,
Mike.
Brian Swale wrote:
> Quite a few months back when Andrew McPhee was active in this group and
> started the OM Odyssey, he was using php, and he or somebody else
> mentioned in the same breath MySQL.
>
> For the life of me I couldn't see any difference at my end between html and
> Andrew's php, but he said he thought it was the best thing since the
> invention of sliced bread, so I thought I'd take a look at it.
>
>
==============================================
List usage info: http://www.zuikoholic.com
List nannies: olympusadmin@xxxxxxxxxx
==============================================
|