Hi, I was wondering if someone could point me in the right direction on how to generate php pages from content in the database. For instance, I have a page with a listing that i want users to be able to click and go to a generated page with that content. I know it has something to do with fopen and I have been looking for a good example to go off of. Thanks in advance.
By database, do you mean relational database such as MySQL? If so, it has less to do with fopen() and more to do with the database functions, e.g., the PDO extension.
Thanks for the reply. Yes, i guess that. I was looking to generate a specific page from what the user selects and have the content based on their selection pulled from what I have in the database. This all from one page that generates this kind of template page. Should I be looking into PDO extensions somewhere?
You can find information about the PDO extension from the PHP manual, but you would also need to read up on SQL and database design if you have no background in these areas.