Home / PHP

PHP

PHP Variables and Data Types and Getting Output

PHP variables

PHP Variables In all programming languages variables are containers which store information or data. For example if you want to store a number you have to store it in a variable. If you are familiar with C or C++ language then In C++ variables are declared with data type before …

Read More »

Learn How to Connect PHP with MySQL Database and Create Database Table

Create MySQL Database using PHP

Connect PHP with MySQL Database and Create Database Table There are three steps to connect PHP with MySQL Database and Create Database Table Step 1: Establish Database Connection First of all you have to establish database connection. For this use this query: mysql_connect("Server name here ","user name","password"); If you have …

Read More »

Introduction and Installing PHP on Local Host

Running PHP program using XAMPP

Introduction and Installing PHP PHP is the most popular server scripting language. It was created by Rasmus Lardof in 1994. Initially it was designed for web development but now it is also used for general purpose programming language. PHP initially stands for Personal Home Page now it is acronym for …

Read More »
error: Content is protected !!