The Stack Overflow section has asked a few questions, but none of them are relevant to my case.
I use Lampp with PHP 5.4.7 and it worked fine until I developed my first PDO program in PHP.
When i use
$con=new PDO("mysql:host='localhost';dbname='data';charset=utf8",'root','');
to connect, I get this error. Do I need to activate something in php.ini?
php pdo
Insane coder
source share