Add a help system to a web project
Posted: Wed Jan 19, 2005 9:53 am
I am kind of uneven how to go about adding help pages to my web project.
The page design is templated. However as I am doing this for myself I got sloppy and didn't do a clear template design on the outputed data. So the text is created on the fly depending on the databse preferences.
Every page gets a hardcoded ID. With this ID I want to create a database driven help system.
All would work fine except one little thing. As my pages are non-static, menus and other items might change and therefore the help page would also require different text.
I could put the help text into the database but how could I add the differnet text options for different e.g. menu settings?
Can I include MySQL Text data into the file and output it? So I could put the switch statement into the database?
The page design is templated. However as I am doing this for myself I got sloppy and didn't do a clear template design on the outputed data. So the text is created on the fly depending on the databse preferences.
Every page gets a hardcoded ID. With this ID I want to create a database driven help system.
All would work fine except one little thing. As my pages are non-static, menus and other items might change and therefore the help page would also require different text.
I could put the help text into the database but how could I add the differnet text options for different e.g. menu settings?
Can I include MySQL Text data into the file and output it? So I could put the switch statement into the database?