Categories
Search → how to sort an array in php

Detailed PHP array tutorial

In this tutorial I will show you how to work with arrays in PHP. You will learn how to create, sort or print an array. Besides this we will touch on multidimensional arrays as well.
DETAILS

How to Sort an Array in PHP

It is often necessary to arrange the elements in an array in numerical order from highest to lowest values (descending order) or vice versa (ascending order). If the array contains string values, alphabetical order may be needed. Sorting a one-dimens...
DETAILS

PHP Script Tips - PHP Built-in Functions for Arrays

A collection of 19 tips on PHP functions on arrays. Clear answers are provided with tutorial exercises on searching keys and values, sorting arrays, merging two arrays, looping on array elements, expanding and truncating arrays. Special topics are: ...
  • Categories
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD,
    • Mac OSX,
    • Sun Solaris
  • Licenses
    • Commercial License,
    • Free for non-commercial use
DETAILS

SLLists - Scriptaculous Lists with PHP

A PHP-based wrapper around the scriptaculous javascript library that makes it trivial to add drag-and-drop sorting to lists or any other HTML element. Helper functions to take the result of sorting and return it in a simple PHP array to enable easy ...
DETAILS

PHP Arrays

A tutorial dedicated to PHP arrays and how to use them as queues, lists, sorters, etc. It uses easy to follow, executable examples to help you learn these intermediate array techniques.
DETAILS
©2003-2019 jCay.com