Currently browsing tag

PHP Tutorial

Backup MySQL database from phpMyAdmin

MySQL database can be easily backed up from phpMyAdmin. Here are few steps : Open phpMyAdmin using URL: http://localhost/phpmyadmin  in the case of Locahost otherwise  open it from your hosting server. Select the database to backup. Click Export. Select the tables that you want to backup. Select the type of database …

Using CKEditor with Javascript

Using CKEditor with Javascript CKEditor is an online rich text editor that can be embedded inside web pages. It is a WYSIWYG (What You See Is What You Get) editor which means that the text edited in it looks as similar as possible to the results end users will see …

PHP with MySQL How to connect to MySQL database using PHP

PHP with MySQL: How to connect to MySQL database using PHP? Connection to MySQL database using PHP is very simple and includes only few steps. First of all we establish a connection to database using username and password. Then we select the database that is already created using MySQL console …

Troubleshooting MySQL error 1045 using WAMP

Troubleshooting MySQL error #1045 using WAMP This tutorial will clarify with necessary illustrations and figures how to avoid #1045 error using WAMP server. For other servers like LAMP, this tutorial may not be helpful. When you install WAMP and try to connect MySQL server using phpMyAdmin for the first time …

Different Data Types in PHP

Different Data Types in PHP PHP supports wide range of Data Types. It supports eight different primitive data types: four scalar types (boolean, integer, float, string), two command types: (array and object) and finally two special types (resource, NULL). All these data types are discussed below: Boolean: Boolean is data …

PHP Tutorial The Operational Trail

PHP Tutorial: The Operational Trail In this section, I discuss about the operation of server to process PHP code. When you request some file like http://yourdomain/test.php on a web browser, as shown in above figure, then following different operations are performed on server. First web browser will make a request …

Installing PHP using WAMP on windows

Installing PHP using WAMP on windows I gave you brief introduction of Wamp Server in my previous article and link to download it. Now I am going to write how Wamp server can be used to run the PHP code on windows. Wamp basically contains three components : Apache, PHP …

Installation of PHP on Windows Platform

Installation of PHP on Windows Platform To run PHP code and see the output on Browser, you need following things A Web Server [e.g. Apache] PHP Database [e.g. MySQL] Text Editor [e.g. Notepad++, KOMODO, Text Mate] Web Browser [e.g. IE, Firefox, Google Chrome] You can use any combination of them. …

Why should we use PHP

Why should we use PHP? PHP is important tool for web development because of the following facts PHP is open source and free software – You can use PHP without any cost. PHP is cross platform to develop, to deploy and to use. PHP is Powerful, Robust and Scalable. PHP …

What is PHP

What is PHP? PHP, which stands for “PHP: Hypertext Preprocessor” is a widely-used Open Source general purpose scripting language that is especially suited for Web development and can be embedded into HTML. Here are some points that define PHP. PHP is a scripting language but not programming language. PHP is …