Array

Submitted by: 
Learn on how to create a Convert PHP Array To Javascript Array using PHP. A simple block of codes that let you conver php array into javascript array. This could be use when you need to pass the php array into a dynamic array of javascript argument.
Submitted by: 
Learn on how to create a Remove Duplicate Values From An Array using PHP. A simple tool that let you remove duplicate entry inside the array. This could help you identify your duplication of data.
Submitted by: 
Learn on how to create a Sort Multidimensional Array By Key using PHP. A simple script that can sort a multidimensional array on a table. This could help you sorting a large data inside the table.
Submitted by: 
Learn on how to create a How To Add Session Array using PHP. A tool that let you add some array as a SESSION array. This could be use in a system that will integrated by shopping cart feature.
Submitted by: 
Learn on how to create a Convert Array To String using PHP. A Simple tool that let you convert an array. It will generate an organize data from the array, into a HTML data table.
Submitted by: 
Learn on how to create a Remove Element From An Array using Javascript. An Application that let you interact with javascript array. It can remove an element from the data array base on what element you choose to remove.
Submitted by: 
This is a simple nested associative array and how to display the elements. In this array, we have three nested arrays. We will loop through using an array $key to display the elements within the array. So we will create a foreach loop within another foreach loop to get the elements. <?php // define associative array // associative array within associative array $data = array ( "UK" => array...
Submitted by: 
This tutorial tackles on how to beautifully display PHP array. In manipulating array with PHP, often times we use print_r() or var_dump() function to display data in an array but the presentation of data in this functions is not usually eye-friendly for developers. This tutorial will provide you a simple solution on how to prettify your PHP array display.
Submitted by: 
This tutorial tackles on how to convert PHP array into Javascript array. In web development, there are instance that you wanted to use a PHP array to your javascript code. One of the solution is to encode the said PHP array to make it available for javascript manipulation.
Submitted by: 
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/...

Pages