php

How to Connect to Multiple Databases in CodeIgniter

Submitted by nurhodelta_17 on
This tutorial tackles on how to connect multiple databases in single CodeIgniter Application. Normally, we used one database for our data but for cases that we needed to use multiple databases, this tutorial will teach you on how to have multiple databases in your CodeIgniter application.

How to Inline Edit Data in Table using PHP and jQuery

Submitted by nurhodelta_17 on
This tutorial tackles how to inline edit data in a table derived from MySQL Table. This means that you are editing the table within the table itself and you don't have to be redirected to a certain edit page. We have used jQuery to make this possible and also to handle our ajax request.

CodeIgniter Ajax File Upload using jQuery

Submitted by nurhodelta_17 on
This tutorial tackles oh how to ajax upload file in CodeIgniter using jQuery. In order for us to send the file via ajax request, where gonna be using FileReader and FormData. File reader reads the selected file then Formdata holds our file for ajax request. We use jQuery for our ajax request which is a javascript library that makes you handle javascript better.

CodeIgniter Ajax Signup with Validation using jQuery

Submitted by nurhodelta_17 on
This tutorial tackles on how to create a signup/register form in CodeIgniter. We use jQuery to handle our server side signup request. jQuery is a javascript library that makes you use javascript easier. CodeIgniter is a lightweight PHP framework that uses MVC(Model-View-Controller) architecture.

PHP - Simple String Conversion

Submitted by razormist on
Learn on how to create a Simple String Conversion using PHP. This code can be use in converting some string easily and automated. PHP is a server-side scripting language designed primarily for web development. Using PHP, you can let your user directly interact with the script and easily to learned its syntax. It is mostly used by a newly coders for its user friendly environment.

jQuery Raffle with PHP Array

Submitted by Mr.Niemand03 on
Jquery Raffle with PHP Array Simple random number generation in a loop to simulate a raffle draw. The code uses bootstrap as the main design and to produce modal to show who is the winner. Also it requires jquery to run. You may use Jquery CDN at https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js and Bootstrap CDN at https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css

How to include PHP files/Templates in CodeIgniter

Submitted by nurhodelta_17 on
This tutorial tackles on how to include PHP flies/Templates or string in views of CodeIgniter. CodeIgniter is a lightweight PHP framework that uses MVC(Model-View-Controller) architecture. We cant just simply include our php file like we did with core PHP using include() function in CodeIgniter instead we do this in controllers following this tutorial.

How to Remove Index.Php in the URL of Codeigniter Application

Submitted by nurhodelta_17 on
This tutorial tackles on how to remove index.php in the URL of CodeIgniter application. By default, index.php is included in the URLs of your CodeIgniter Application. You can remove this by using .htaccess file which contains rules for your URLs. We are going to make this file in this tutorial and a few configurations if your using localhost server.