Hii everyone can someone show me what’s wrong about this

<?php require_once (‘config.php’); ?> <?php $connection = new PDO($abc,$user,$pass); $table = "CREATE TABLE IF NOT EXISTS ideadb1 ( id INT UNSIGNED AUTO_INCREMENT, title VARCHAR(30) NOT NULL, text TEXT NOT NULL, PRIMARY KEY(id))"; $login->exec($table); echo "you are successful !!"; ?>

Warning: Undefined variable $login in C:\xampp\htdocs\server\connection.php on line 14

Fatal error: Uncaught Error: Call to a member function exec() on null in C:\xampp\htdocs\server\connection.php:14 Stack trace: #0 {main} thrown in C:\xampp\htdocs\server\connection.php on line 14
???/