WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Mobile Dev World

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Linked comboboxes with php-mysql & javascript
Categories : PHP, Java Script, Databases, MySQL Click here to Update Your Picture
frederic vandenplas
Date : Aug 07th 2005
Grade : 3 of 5 (graded 17 times)
Viewed : 17555
File : 4211.zip
Images : No Images for this code example.
Search : More code by frederic vandenplas
Action : Grade This Code Example
Tools : My Examples List

  Submit your own code examples 
 

I found the javascript to construct double linked comboboxes all over the web, they all had the same script.
My purpose was to fill them with data from a mysql database, so that it can be used for a form for entering entertainment purposes. The form needed to be able to update/edit the data.

There are three files included in the .zip file :

1- create the database and the two tables :
one for the main categories
one for the subcategories
They are linked together in the way Idnumber (main table) > vr_sleutel (second table)
2- conexxion.php wich contains your conexxion details

3- the file containing the code

4- a snapshot of how the code looks once executed
This will help you debug if something goes wrong
I suggest launching the code from within Dreamweaver

I use firefox wich has a helpfull javascript debugger as Jscript in case something is wrong does not throw an error but just does not work

info AT conexxion DOT be if there are any suggestions



A Complete table(ADD,EDIT,VIEW,DELETE) management System PHP,MYSQL, JAVASCRIPT
Categories : PHP, MySQL, Java Script, Databases
A Simple sign up script with PHP and JavaScript validations.
Categories : PHP, Java Script, MySQL, Databases
bookmarker - PHP, PHPLIB, MySQL WWW based bookmark manager
Categories : MySQL, PHP, MySQL, Complete Programs, Databases
Building dynamic menus with PHP & MySQL (ADO), JavaScript and CSS
Categories : PHP, Databases, MySQL, Java Script, User Interface
This program allows you to upload an ODBC ressource - i.e. an MS-Access database to a MySQL server.
Categories : Databases, MySQL, Complete Programs, PHP, Databases
AJAX Data Grid System using php and mysql. A complete login system with the ability to display data in a grid using ajax. Add , update and delete the records without reloading the page.
Categories : PHP, AJAX, Databases, MySQL, Java Script
Pull Down Surfing - Surf on Change
Categories : Java Script, MySQL, HTML and PHP, PHP, Databases
TREE VIEW FROM DATA IN A MYSQL TABLE USING DTREE FREE JAVASCRIPT UTILITY
Categories : PHP, Java Script, Databases, MySQL
Specify your connection settings and create a link to a MySQL database.
Categories : PHP, PHP Classes, Databases, MySQL, Beginner Guides
Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0
Categories : PHP, Sessions, Databases, MySQL
phpFormGenerator for Dynamic Form Generation from MySQL
Categories : PHP, PHP Classes, MySQL, Databases, HTML and PHP
Zip code range and distance calculation class v1.0.0
Categories : PHP, Databases, MySQL, Zip Code
PHP Calendar Web App
Categories : PHP, Databases, MySQL, Date Time, Calendar
How to load a query result into a PHP Array
Categories : PHP, Databases, Arrays, MySQL
Simple conversion functions to change MySQL dates to arrays, arrays to MySQL dates.
Categories : PHP, Arrays, Date Time, Databases, MySQL