Original Post
I decided to use PHP and MySQL for my website, and ran into a problem: I''m not sure how they are used.
For my website (wiseelben.com), I stored information on HTML files and MySQL tables. All my tutorials go into tables, since that will make mangament easier, and all the stuff that wouldn''t be edited much (rules and stuff), are stored in an HTML file and use
"Give a man a fish and he will eat for a day. Teach a man how to fish and he will eat for a life time."
-Chinese Proverb
WiseElben.com - Experience Wisdom
< ?php include("arg"); ? > .
This is a good way of doing things, right? I think I''m doing something wrong since I have to use Javascript to chance the title... Ahh.. there has to be more efficient way somehow... I remember the rules: "If you''re using the same piece of code all the time, there has to be a better way."
Now, I know this could be possible to do with a database. I can store the title in the table and echo it at the header ( < title > ). But how would I do this with HTML files?
BTW, the tables messes up sometimes in Firefox for some odd reason. Just reload.