PDO Question

Hey,
I'm working with the PDO object for the first time. I'm not sure how to fire my queries, so that information is inserted, or selected, from the database. Hopefully someone can help me sort out the code

PHP:

if($numberOfErrors == 0){

       

            $db = new PDO($dsn, $dbUserName, $dbPassword);

           

            $dbEntryUserName = $_POST[‘userName’];

            $dbEntryPassword = $_POST[‘password’];

            $dbEntryEmail = $_POST[‘email’];…

PDO Question

See original post by Jeremy Benson

Leave a Reply