
Vaidas Visk - 2015-04-11 13:35:28
You shouldn't use deprecated functions like mysql_connect, mysql_query and other mysql_* family functions. Use PDO or at least MySQLi.
I would recommend to follow some coding style standards like PSR-2 (more about: http://www.php-fig.org/psr/psr-2/), because I personally hate seeing true, false, null and other keywords in uppercase.