19.08.2018, 08:19
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.
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.