Creative Multimedia Programming: Multimedia Project

Saturday, 4 March 2017

PHP: Insert

Today I began to code the back-end to my project. To code my back-end I will use PHP. PHP is a 'widely used open source general purpose scripting language that is especially suited for web development and can be embedded into HTML'.

The first aspect of coding I combatted today was an insert. An insert is used to insert data into the database. For my project I will insert users information upon sign up. This data includes the users: firstname, lastname, date of birth, email address and password. Once the user signs up, this data is stored within the database. This information is stored within the database for login credentials.

I was able to insert information into the database successfully. As it was successful, I also coded an insert for my mailing list. This information is stored under the contact table in my database. The information stored for the mailing list includes the users: firstname, lastname, email address and a comment section if they wish to leave any information about the web application or games.

Insert code php