Using PDO connection instead of mysql_* and replaced methods to use it
Replaced mysql_* queries with PDO equivalentes
updated config.php with PDO connection parameters
Fixed typo with PDO::execute()
Fixed type with PDO::execute
Fixed typo in SQL like statement
Fixed PDO calls
Changed error mode to default