Basic CRUD operations with PDO CRUD = Create, Read, Update, Delete Open a database connection $host = '127.0.0.1'; $dbname = 'test'; $username = 'root';