Jump to content

Question about fwrite vs MYSQL


Monkuar

Recommended Posts

On my main page of my forum, it shows the total amount of Posts and Topics on board, and it selects these from a query IBF_STATS,. and I was just wondering, do you think it would be more improvement wize to edit each time somone post's you use fwrite, and make it add +1 into the .txt on the server, then just extract the .txt contents to show on the main page, so you do not have to use a mysql query, do you think it would beneficial or no?

 

Is reading from a .txt a strain on a server or alot easier then comparing 1 simple (kinda long) mysql query?

Link to comment
https://forums.phpfreaks.com/topic/250591-question-about-fwrite-vs-mysql/
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.