I\'m following this tutorial, I\'m currently around minute 04:00 and I want to make a connection with my MySQL database through PDO. But my webpage will always give \"Could
You have error in code near localhost
Use semicolon in place of colon
Write this instead:
$pdo=new PDO('mysql:host=localhost;dbname=mytodo','root','');