Course lectures : 1 of 4


Sort table columns with PHP and jQuery

Last updated: 25th August 2011

Learn how to apply the sorting functionality to the table columns, where by clicking on the column heading the order of the items changes from ascending to descending and vice versa. We will accomplish this using PHP, Session Variables and some Ajax calls via jQuery.

phpphp tutorialphp coursemysqlmysql tutorialmysql coursemysql sort columnsphp sort columnsphp sort table columnscolumn sorting with php tutorialcolumn sorting with phpjqueryjquery tutorialjquery coursesort table columns with jqueryjquery sort columns


If you'd like to include code example please wrap your code within <pre><code> tags. See example here

function fullName(firstName, lastName)
    return firstName + ' ' + lastName;