PHP Classes

File: ajax.php

Recommend this page to a friend!
  Classes of Neda Divbandi   PHP jQuery UI MySQL Accordion   ajax.php   Download  
File: ajax.php
Role: Example script
Content type: text/plain
Description: ajax File
Class: PHP jQuery UI MySQL Accordion
Show master detail MySQL records using accordion
Author: By
Last change:
Date: 10 years ago
Size: 492 bytes
 

Contents

Class file image Download
<?php
 
include 'class.uiFeatures.php';




   
if(isset(
$_POST['gettmasterName'])){
          
$ui = new uiFeatures('localhost', 'root', '', 'onlineexam');
   
$result=$ui->createAccordian(
        array(
'table' => $_POST['gettmasterName'], 'title' => $_POST['gettmasterField'], 'PK' => $_POST['gettmasterpk'])
       ,array(
'table' => $_POST['gettdetailName'], 'title' => $_POST['gettdetailField'], 'FK' => $_POST['gettdetailFK']));
    echo
$result;
          
}


?>