PHP Tutorial

  • Submitted by: 
    In some of our previous tutorial, we discuss how to Create, Read, Update and Delete using object-oriented programmming approach. This tutorial is a continuation of our previous topic called " Part II: Updating and Deleting of MySQL data using an OOP approach in PHP ". But this time we’re going to focus on how to generate autonumber. This autonumber can be used as a unique id in your aside from...
  • Submitted by: 
    This tutorial is a continuation of our previous topic called “ Part III: Generating Autonumber using PHP/MySQL ”. At this time, we’re going to continue our lesson focusing on updating and deleting of autonumber. Let's create a new file and name it as “eautonum.php” and add the following code: This will perform if the “Edit Entry” on the autolist.php is clicked then it will get the “id” of...
  • Submitted by: 
    This tutorial is a continuation of our previous tutorial called How to create a Sign up Page Using twitter Bootstrap . This time we're going to focus on saving the data posted from the sign up page and we’re going to store it into the MySQL Database. To do this, we need to set first our database and here’s the table structure used in this tutorial. CREATE TABLE IF NOT EXISTS `tblmember` ( `id`...
  • Submitted by: 
    In this tutorial, I'm going to show how to validate the user inputs using Javascript and saving the data into MySQL Database using simple PHP. To start in tutorial, first open our last topic called Creating a Registration Page Part I and I made some changes and here’s the modified index file: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta content="...
  • Submitted by: 
    In this tutorial I’m going to show you how to upload photo using PHP/MySQL, and this tutorial is a continuation of our previous topic called Social Networking Site: Simple Uploading of Profile picture in the home page . But in this time we’re not going to use the “home.php” file instead, we’re going to create a new page named “upload_photos.php”. To start in this lesson, first we will create a...
  • Submitted by: 
    This tutorial is a continuation of our project called “How to Create a Social Networking Site Tutorial”. At this time we’re going to focus on creating login-logout system in a secure way using session. Logging in or signing in or on is the process by which individual access to a computer system is controlled by identifying and authenticating the user through the credentials presented by the user...
  • Submitted by: 
    This tutorial, is a continuation of our previous topic called “ Social Networking Site saving basic Information ”. But this time we’re going to focus on how to load all the save information from the database. And it looks like as shown below: To start with this tutorial, open our project folder and select the file called “info.php”. Then under end portion of the Modal, add the following code:...
  • Submitted by: 
    This tutorial is a continuation of our previous tutorial called “ PHP Pagination ”. At this time we’re going to focus on how to perform Pagination using Object-oriented Programming in PHP. Using this OOP we can minimize our code in creating a PHP pagination in our all web pages especially when we are developing a big system. To start with this application, open our file in the document root...
  • Submitted by: 
    This tutorial, is a continuation of our previous topic called Social Networking Site: Adding a Sub-comment to a specific Post . But this time, I’m going to show you how to add a delete command of comment and sub comment. To start with this course, open our philsocial folder from the document root and open the home.php file. And inside the well class above all of the codes for comment and sub-...
  • Submitted by: 
    This tutorial is a continuation of our previous topic called “ Facebook Wall Script Clone(What’s On Your Mind) ”. But this time, we’re going to focus on how to add a sub comment in every shared post of a user. To start with this tutorial, create first a table in your database called “subcomment” and here’s the table structure of this table. CREATE TABLE IF NOT EXISTS `subcomment` ( `subc_id` INT...

Pages