Melanie Corral

Updates 3/9/21

Screenshot of Application:

Here I am blocking out the layout for one of the webpages for my project. I plan to create a table layout to display the Course roster. I still have more to add, but as of now I only have this HTML layout of the page.

image

Source code Sample:

Here is code that establishes the basic connection to the database using PDO. For security sake, I saved all the database credentials into a separate php file that I reference. The webpage successfully connects to the database as shown in the prev image. If the page connects to databse, echo "We Connected to Database", else something went wrong and echo the error "No database found".

image

Intresting feature:

Intresting feature so far? nothing yet.

Additional:

5% started. An intresting I learned is that there are different ways to use pdo depending on where you're hosting your database. For example I used mysqli to sign into my MySQL database, but for a database on Postgres I used new PDO.