Global Variables vs mysql queries
#1

Hello everyone!
I want to know is there a specific advantage to using global variables instead of executing a mysql query everytime I need data from my database?
I know mysql can handle all those requests and I hate having to update my global variable and also update the database, it's like I am doing a task twice. I really want to know peoples arguments before I decide to switch totally to one or the other.
Thanks in advance.
Reply


Messages In This Thread
Global Variables vs mysql queries - by Seifspeed - 19.08.2018, 08:19
Re: Global Variables vs mysql queries - by Calisthenics - 19.08.2018, 08:51

Forum Jump:


Users browsing this thread: 1 Guest(s)