hi i am in the middle of creating a system where all website content is stored in a database the thing i want to do is depending on wat the user has click how can i make it come up the page without having to create more pages on the website like i have say over 500 pages stored in a database how can this be done? can anyone give me a hand please
also i have created a dymanic menu on the top of my script and what i can is when i click the links they show the content below can this be done if so how can i go about doing this?
You don't store pages in a database; you store content. Make a template and load the content from the database into the template. The content will also need a method entry and exit points where PHP code can be run inside it.
all the stuff in the table is stored in field for page Name is stored in Pname and The Title Stored in PTITLE and the keywords are stored in PKeys and The Page Description is stored in PDesc and The Content on the Page is stored in Pcontent and i have also have a field that has the status of the path so if its Publish or unpublish it wud show up in the unpubhlish field if its unpubhlished and if it was publsh it will show up in the publish field in the admin control panel so how can i solve this?