PHP Classes

File: index.php

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


Class file image Download
<html lang="en">
<meta charset="utf-8">
<title>jQuery UI Tabs - Default functionality</title>
  <link rel="stylesheet" href="">
        <script src=""></script>
        <script src=""></script>
 <script src="jquery-2.0.0.min.js"></script>
            /* IE has layout issues when sorting (see #5413) */
            .group { zoom: 1 }

                     function displayaccordion(masterName,masterField,masterpk,detailName,detailField,detailFK){

        <h1>Welcome to jquery ui class</h1>
         <h2>To create your desired Accordion based on your database table please fill the form below:</h2>
         <p>That is so easy and user friendly </p>
        <p style="color:red;">NOT: Database details are protected and must be customized through class.uiFeatures File</p>
        <input type="text" id="txtMastertableName" placeholder="Master Table Name" style="width:200px;">
        <input type="text" id="txtMasterField" placeholder="Master Field to be displayed" style="width:200px;">
        <input type="text" id="txtMasterTablePrimaryKey" placeholder="Master Table Primary Key" style="width:200px;">
        <input type="text" id="txtDetailseName" placeholder="Details Table Name" style="width:200px;">
         <input type="text" id="txtDetailseField" placeholder="Details Table Field to be displayed" style="width:250px;">
         <input type="text" id="txtDetailseFK" placeholder="Details Table Foreign Key" style="width:200px;">

<button onclick="displayaccordion($('#txtMastertableName').val(),
                                            );" >accordion demo</button>


<div id="disp">