Aug 3, 2022
Hi Sabarnathm,
I believe the $pdo variable is referencing the PHP PDO library but your connection information uses MySQLi. They are different from each other and you should only use 1 or the other, not mix them up. I use PDO in my examples so the MySQLi methods won't work with PDO.