Cascade,Drop,Down,php

Ron 10/11/2016 0

Cascade Drop Down in PHP

PHP
<html> 
<head> 
<title>Drop Down Based on First Value</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
</head> 
<body> 
<?php 
// Script to Query the Concerts Table to Display the results 
/* database configuration */ 
$dbConfig['type']="mysql"; 
$dbConfig['server']="localhost"; 
$dbConfig['username']="******"; 
$dbConfig['password']="******"; 
$dbConfig['database']="******"; 

include_once("JSDropDown.class.php"); 
$frmObjName="JSddForm"; 
echo "<form name=\"$frmObjName\" method=\"post\">"; 

$JSdd = new JSDropDown($dbConfig); 
$JSdd->DataFetch();                   // Call the Function which will fetch the data. 
$JSdd->createfrmObject($frmObjName); // Pass the Current Form name as the parameter 

$JSdd->close_JSDropDown_database(); 
echo "</form>"; 
?> 
</body> 
</html>
 

Report Bug

Please Login to Report Bug

Reported Bugs

Comments

Please Login to Comment

Comments