PHP Classes

PHP jQuery UI MySQL Accordion: Show master detail MySQL records using accordion

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 495 All time: 5,843 This week: 189Up
Version License PHP version Categories
mysql-accordion 1Artistic License3.0HTML, PHP 5, Databases


This class can show master detail MySQL records using accordion.

It queries a given MySQL master table to retrieve a list of records to be viewed in detail using a second query to a detail record table.

The class generates HTML with JavaScript using jQuery UI components to display the master record results using accordion components to expand and view detail table records.

Innovation Award
PHP Programming Innovation award nominee
September 2014
Number 3

Prize: One downloadable copy of PhpED Professional
Often applications need to display listings of records retrieved from databases that have more detailed information in related records.

This class can display MySQL master-detail records using jQuery accordion to expand detail views.

Manuel Lemos
Picture of Neda Divbandi
Name: Neda Divbandi <contact>
Classes: 2 packages by
Country: Iran Iran
Age: ???
All time rank: 250241 in Iran Iran
Week rank: 653 Up17 in Iran Iran Up
Innovation award
Innovation award
Nominee: 1x


include 'class.uiFeatures.php';

$ui = new uiFeatures('localhost', 'root', '', 'onlineexam');
'table' => $_POST['gettmasterName'], 'title' => $_POST['gettmasterField'], 'PK' => $_POST['gettmasterpk'])
'table' => $_POST['gettdetailName'], 'title' => $_POST['gettdetailField'], 'FK' => $_POST['gettdetailFK']));


  Files folder image Files  
File Role Description
Accessible without login HTML file accordion.html Output html example
Accessible without login Plain text file ajax.php Example ajax File
Plain text file class.uiFeatures.php Class class main source
Accessible without login Plain text file index.php Aux. index page

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,843
This week:189Up
User Comments (1)
very interested package my dear Fellow ;)
9 years ago (pooya sabramooz)