Jump to content

php file for every page of a forum?


fredted40x

Recommended Posts

Hi,

 

I’m trying to create a mini forum in php and html, it will contain about three categories that people can post in.

 

Would it be better to create three separate php files for each category with the same code in apart from a change in the sql code or would it be better to use the same page for all categories but pass a value through the href links to say what to search for and then change the sql where clause to find the posts in that category?

 

Thanks.

 

Link to comment
https://forums.phpfreaks.com/topic/196859-php-file-for-every-page-of-a-forum/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.