24 Jan 07
02 Feb 07 4:49 pm
Both PHP & HTML have different purposes:
HTML, is more for laying out and formatting text. PHP on the other hand is a full-blown scripting/programming language and can also be used outside of the server environment too. Eg, I havent used batch files on my machines since I'd learnt PHP.
Not only is PHP more powerful than a batch file but is also cross-platform! So I can write stuff on my windose box and use them on my linux box too, great for automating website updates!
The beauty of PHP is that most servers have it installed as standard and all you need to do is rename any/all your .htm(l) files to .php; small step but great benefits.
Not only could you generate your troublesome menus dynamically but small things like updating copyright dates etc becomes a doddle...
I dont write html files any more...just use php to create my content from simple template files.
So, if you want to be more productive without having to wait for dreamweaver to startup, get yourself a good, simple text editor and learn php, you wont regret it...
bye for now,