Tagged: php

php crud operation using pdo extension 8

PHP CRUD Operation using PDO Extension

In the previous tutorial we learned about PDO Extension. In this tutorial we will learn CRUD operation using PDO Extension.CRUD Stands for create, read, update and delete record in the database. File Structure for...

Basic PHP Programs 0

Basic PHP Programs

Add two Numbers ?php if(isset($_POST[‘submit’])) { $num1=$_POST[‘num1’]; $num2=$_POST[‘num2’]; $result=$num1+$num2; echo “Sum of ” .$num1. ” and “.$num2. ” is ” .$result; } ?> <!DOCTYPE html> <html> <head> <title>Add two number</title> </head> <body> <table> <form...


PHP Variables

A variable is a place  where you can store things, such as  number, a date  or some text. You can put the text or number into variables so you can retrive them later or...