Simple Login And Signup System Using PHP PDO

The Db.php file in the Model directory is where we get to set our environment credentials.

But before we get to that, you should probably try creating the database or you upload the learning_dollars_db.sql file.

Inside of the Db.php file, the following line is where you can change the database name, database host, database user, and the database password.

    /** Database Name */
    protected $dbName = 'learning_dollars_db'; 
    /** Database Host */
    protected $dbHost = 'localhost'; 
    /** Database Root */
    protected $dbUser = 'root';
    /** Databse Password */
    protected $dbPass = '';

After this, you can view the application in your broswer.