After reading the PHP manual, I’ve grown to dislike the way PHP is documented, the documentation must be the worst I’ve ever read, however I got a lot more knowledge about PHP now.
On another note, I’ve made a DBController class which utilizes the PDO Class to perform the queries to the underlying database. The code is a lot cleaner and much nicer to maintain. All the other php files are adjusted to use the the DBController class.
This is also the reason why the GVoipOnline website was not functioning normally the past day.