PHP

PHP Prevent the Return to Login Page/Disable Back after Login

Submitted by nurhodelta_17 on
Hello. I know people are wondering how to disable back button or preventing return to login page after login. Actually there's no method to disable back or preventing return but this tutorial will teach you a simple trick by use of session. I've created a simple login in this tutorial but if you want, you can learn How to Create a Simple Login with Validation. So.

PHP Sending Array to URL using JSON Encode/Decode

Submitted by nurhodelta_17 on
This tutorial features a way to send array to url using json encode/decode. Of course, there are a number of ways to send array to url but for me, I found this efficient when it comes to sending arrays. Also, I've included three ways to send to url which are via href, php header and script location. So, let's get started.

Creating Sample Array

First step is to create our sample array with the 3 ways to send to url.

Import Excel Data on MySQL Database Using PHP

Submitted by anthu1510 on
Simple code to import excel data to MySQL using PHP. This all code is simple and useful for all beginners. Download and enjoy. Instructions: 1. Extract the zip file. 2. create database "excelimport". 3. Goto db folder. 4. Import "excelimport.sql" file into database. 5. Example excel file "users.xlsx" Run and enjoy. If you have any query just let me know this mail id [email protected] Thanks.

PHP Selecting MySQL Row by Category using jQuery

Submitted by nurhodelta_17 on
In this tutorial, I'm going to show you how to create a simple select of MySQL row by category using jQuery. This tutorial features a select tag that whenever we change the value of a category the page or the data from table automatically change based on the chosen category or value of select tag. So, let's get started.

Creating our Database

First step is to create our database. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as "category". 3. After creating a database, click the SQL and paste the below code.

PHP Simple Search using AJAX/Bootstrap

Submitted by nurhodelta_17 on
In this tutorial, I'm going to show you how to create a simple search using ajax/bootstrap. It features a suggestion list from data in our database. Hope this will help you.

Creating our Database

First and most important step in to create our database. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as "ajax_search". 3. After creating a database, click the SQL and paste the below code.

PHP Facebook-Like Notification using AJAX Bootstrap

Submitted by nurhodelta_17 on
In this tutorial, I'm going to show you how to create a simple fb like notification using PHP, AJAX and Bootstrap. In this tutorial, a notification will add every time we add a new user.

Creating our Database

First, we're going to create our database. This will store our sample data. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as "notif". 3. After creating a database, click the SQL and paste the below code.

CRUD Operation using PHP/MySQLi and AJAX/jQuery

Submitted by nurhodelta_17 on
In this tutorial, I'm going to show you how to create a simple CRUD Operation using AJAX/JQuery. CRUD means Create, Update and Delete. Also, the purpose of using AJAX/JQuery is that the page won't reload after an operation. I've used bootstrap in this tutorial to slightly improved the visuals. Creating our Database First and most important step in to create our database. This will serve as storage

Easy and Simple Like/Unlike using AJAX/jQuery

Submitted by nurhodelta_17 on
In this tutorial, I'm going to show you how to create a simple like/unlike using AJAX/JQuery. The purpose of using ajax/jquery is that you won't need to reload the page after liking/unliking. This tutorial won't give you a good design but will give you idea on the topic.

Creating our Database

First, we're going to create our database. This will store our sample data. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as "like". 3. After creating a database, click the SQL and paste the below code.

Easy and Simple Deleting of MySQL Row using AJAX/jQuery

Submitted by nurhodelta_17 on
In this tutorial, I'm going to show you how to delete mysql row using ajax and jquery. We use ajax and jquery, so that, we don't need to reload the page after our action. You might want to learn How to Insert Data using Ajax/JQuery. This tutorial will not give you a good design but will give you idea on the topic.

Creating our Database

First, we're going to create our database. This will store our sample data. 1. Open phpMyAdmin. 2.