PHP Tutorial

  • Submitted by: 
    Hi everyone, This tutorial is about on how to create an images slideshow using php and a simple jquery. This program requires only a few lines of code. to start let's follow the steps below. Step 1:Creating our style to beautify our slideshow to create, open your php editor and paste the code bellow and save it as "slideshow.php." < html lang = "en" > < head > < title > Simplest...
  • Submitted by: 
    This tutorial will help you validate a control like text field using javascript and display the error inline with the text field. I write this tutorial to help other programmer having difficulties in creating inline input validation. It also validate the email address. To start this tutorial lets follow the steps bellow. Step 1: Open Your php editor and copy/paste the code below This code is the...
  • Submitted by: 
    Hi everyone, this tutorial will teach you on how to upload images with re-size and save to database using php/mysql. to start this tutorial, let's follow the step provided. Step 1: Creating Our Table First step is to create our table in database to store the images uploaded. To create a database: 1. Open phpmyadmin 2. Click create table and name it as "images". 3. After creating a database name,...
  • Submitted by: 
    This tutorial will help you on how to create a database and a database table without opening phpmyadmin. The feature of this program is the user can add database and database table without using phpmyadmin. to start this tutorial lets follow the steps bellow: Step 1: Creating The Database Name Form To create a form, open your php editor and paste the code below and save it as "idex.php". <...
  • Submitted by: 
    Before we start working with PHP/MySQL, you need to install WampServer first in your local computer. WampServer will allow you to run PHP script in your local computer without accessing live server. Running PHP script locally will also speed up your development. First download WampServer from http://www.wampserver.com/ . Download WampServer In step # 3 select 32bit or 64bit. Save it on your local...
  • Submitted by: 
    There are times that you want to loop between two dates in PHP. If you have, for example, formatted the date like m/d/Y, you cannot simply use it in while loop statement. Before you can loop between two dates in PHP, you need to convert it first to Unix timestamp using the strtotime function. Here’s an example of how to do it: $startDate = strtotime ( $checkin ) ; $endDate =...
  • Submitted by: 
    This Tutorial will teach you on how to save radio button value using PHP and MySQL. To start this tutorial let's follow the steps below. Creating Our Database First we are going to create our database which stores our data. To create a database: 1. Open PHPMyAdmin. 2. Click Databases. 3. In the "Create new database" box, type "radio". 4. The click Create button 5. Click SQL tab and paste the...
  • Submitted by: 
    Good day everyone, I am going to create my new tutorial called "Simple Profile Information Page". In this tutorial you can integrate my previous code on How to Create Registration Page in PHP/MySQL and on How to Create Login Page in PHP/MySQL . To start with, follow the steps below. Create a Registration Page First, follow the instruction on How to Create Registration Page in PHP/MySQL...
  • Submitted by: 
    Switch Statement is the same as If…Else Statements except that it is easier to use if you have multiple conditions. Switch Syntax switch ( condition ) { case condition1 : statement to be executed if n = condition1 ; break ; case condition 2 : statement to be executed if n = condition2 ; break ; default : statement to be executed if n is different from both condition 1 and condition 2...
  • Submitted by: 
    Free PHP, HTML, CSS, JavaScript editor (IDE) Codelobster PHP Edition

Pages