Hi!
I've tried to learn classes but I found it too complicated for me, so I was wondering if I could use a require function instead of classes in some situations...
Let's say that there is a file called connect_db.php and it just connect me to my Db...Can I insert a require function on the other files that will connect that Db, so this way it'll save me time and if I need to change my db username I just have to do that in the connect_db.php?
Thank you
Felipe Lopes