PHP Notice: Undefined index: name in /home/Uc5Ur7/prog.php on line 6
PHP Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in /home/Uc5Ur7/prog.php:7
Stack trace:
#0 /home/Uc5Ur7/prog.php(7): PDO->__construct('mysql:host = lo...', 'root', '')
#1 {main}
thrown in /home/Uc5Ur7/prog.php on line 7