Originally posted by momogi
6 dropdown boxes populated from PHP/MySQL using Ajax
Collapse
X
-
Originally posted by JohnMVHi ,can i too, get a copy of your code.
Could you please mail me the code to <email_remove d>
Thanks!!
John.
RonaldComment
-
Originally posted by ronverdonkI have (very simple) sample scripts for this. Although it is not my habit of making complete code sets available, I will make an exception in this case because it would be a never ending thread to display and comment the code involved.
I have sample code whereby 6 drop-down boxes are filled, each one depending on the choice in the previous one. The data to populate these boxes is coming from a MySQL database.
The code for this contains 3 simple scripts:- client script building the screen and executing the JS requests to the server
- a PHP program that is invoked by the client JS. It performs the required MySQL selects, builds the fileld dropdown box and sends the result back to the client.
- the Ajax.js include lib (Simple AJAX Code Kit (SACK)), used for handling the httpRequests, which is not developed by me, but by Gregory Wild-Smith, under a modified MIT license.
When you are interested in this code I will send it to the email address of anyone interested. In that case send me your email address.
Ronald :cool:
i too need your help on the codes. i've pmed you already :)
thank you~Comment
-
Comment