Oj Obasi
Oj Obasi

I am also and will continue to be a student of web design and development. My tutorials may not be for you. If you feel that way, then search online for better tutorials.

PHP Form GET or POST($_GET vs. $_POST)

Php

So the question is when do you use Get Method and When do you use the Post method in html forms with php? In this tutorial we look at the similarities and difference between Get and Post.

PHP 5 Form $_Get method

Php

Lets look on how to get the value of a simple html form using php. In this tutorial, we will get the value of each input and display on thesame page when the form is submitted. We will use the $_GET php superglobal to get the form data. When to use GET?

PHP 5 Form $_POST method

Php

Lets look on how to get the value of a simple html form using php. In this tutorial, we will get the value of each input and display on the same page when the form is submitted. We will use the superglobal $_POST to get the form data. Another alternative will be to use the $_GET superglobal. When to use POST?

PHP PDO Get ID of Last Inserted Data

Php

There are so many reasons you may want to know the id of your last inserted row. In this tutorial, we will be adding a new record into our database and we want to echo out the last inserted id.We would be getting our last insert ID using lastInsertId().

PHP PDO Delete Data From a MySQL Table

Php

The SQL DELETE statement is use to delete a record from a table. We want to remove one of our products from our products table for reason that we are not more selling that product. To delete that product, all we need is its row ID .(WHERE id = 1).

PHP PDO Update Data in MySQL

Php

In this tutorial, we will be using php prepared statement to update information in our products table.We will be updating table row with id = 1. We would change the 'product_name' from let say 'Blue Shirt' to 'Yellow Shirt'. Remember , you can only use the sql UPDATE statement to update existing data.

PHP PDO SELECT Data from MySQL

Php

We want to get data from our database. We will be using the sql SELECT statement to achieve this. We have a database table called 'products' with different products. We want to display this products on our webpage. So how can we we achieve this? PHP PDO SELECT Data from MySQL.

PHP PDO Insert Data Into MySQL

Php

PHP PDO Insert Data Into MySQL. Lets inside some values to our MySQL products table using the PDO API.We have to use the 'INSERT INTO' special statement.