Forum Moderators: coopster
Is there a program like frontpage where such things are possible, I know many hate that software, but I have great succes with it or is there other options.
zeus
PHP is a programming language, the best you can do is to learn to code it the "real" way - using a text-editor and a lot of patience. I have never used any off-line applications to generate PHP code.
Good luck
Teresa
SO: php is phenomenally easy to learn. Get a book in paper, and go to apachefriends.org to get the server stuff to put on your computer. Use dreamweaver for your HTML if you want, but stay away from it for PHP. Write your PHP yourself.
Once you start to get to grips with the basic of the language it certainly does open up a whole new window of oppertunity. It's quite amazing what you can do with only basic knowledge.
Mack.
- create a sample page just as you normally would in FP. Okay, the code might be a mess, but you can fix that later.
- now break out chunks of it that will appear on all pages and save them in separate files - header, footer, navigation in their own directory, say "shared" or "layout" or something.
the my_page.php looks like this
<?
include('/home/site/shared/header.inc.php');
?>
<div class="content"> All my brilliant commentary and ingenious content goes here</div>
<?
include('/home/site/shared/footer.inc.php');
?>
Thats sort of the simplest case, but it's a way to get your feet wet and it already saves you lots of maintenance headaches - change one file and all of your headers change. From there you can learn bit by bit until you have php doing all kinds of things you had never imagined.
Tom