PHP Classes

File: setslists/setslists.php

Recommend this page to a friend!
  Classes of MarPlo  >  PHP AJAX Multiple Dropdown Select List Creator  >  setslists/setslists.php  >  Download  
File: setslists/setslists.php
Role: Example script
Content type: text/plain
Description: php code that uses the buildSLists class
Class: PHP AJAX Multiple Dropdown Select List Creator
Create multiple dropdown selects lists
Author: By
Last change:
Date: 9 years ago
Size: 696 bytes


Class file image Download
// Script Multiple Drop-Down Select Lists Creator -

// HERE add your Admin data, to can save the menu
define('ADMNAME', 'name');
define('ADMPASS', 'password');

// HERE add your data for connecting to MySQL database (MySQL server, user, password, database name)
define('DBHOST', 'localhost');
define('DBUSER', 'root');
define('DBPASS', 'passdb');
define('DBNAME', 'dbname');

/* From Here no need to modify */

if(!headers_sent()) header('Content-type: text/html; charset=utf-8'); // header for utf-8

// Include and uses the class that gets and saves drop-down lists data
$obSLists = new buildSLists();

For more information send a message to info at phpclasses dot org.