Hi Crash,
For php migration, it's easy as for your first page you could just rename your file from .htm to .php
...that's it! you have created your 1st Php page!
Php has to be viewed as a html file writer; Php is just filling "holes" in your html file with information
or caculation it does. in example above, he find no hole to process, then it display only html content!
For the case of Cumulus weather pages, there is a lot of "holes" to fill as you have to replace all
Cumulus webtags by it's Php version. I don't know your
cumuluswebtags.txt file as I used mine
in all my projects. but principle stay the same. Suppose you enconter a Cumulus webtag like this:
<p><#temp></p> // For current température
You're searching to replace only <#temp> (the php "hole"), like this:
<p>
<?php echo $temp ?></p>
Then you example is good, but it lacks html tags, then your page will contain "validation errors"
and will appear as plain text!
Your project is a good idea to learn Php, but
Weather Blues v2 is already a "full php" version!
and I used IS, because I'm at end, some tweaking to do in
Template Manager Module and
installation/configuration instructions to do! About 2 or 3 days before launch!
(You could see this link to see how it work:
http://weatherbyyou.com/ws_sheet.php)
Tnen, welcome to Php world!
Regards,
Jacques