Note: If you want to be updated on Delphi for PHP, you can follow me on twitter http://twitter.com/qadram, and you can see what’s going on by checking the brainstorm site http://brainstorm.qadram.com/, more details about the brainstorm site here.
Some days ago I received a question from a customer, regarding using Ajax to fill a combobox, depending on the selection of another combobox. I thought it was a good idea to use that sample as a way of testing the new release and record a video of the process, so here is the result.
The goal of this sample is to allow the user select a US state on a combobox, and then, fill another combobox with the cities belonging to that state. I’m using a big ZIP code database and it would be not practical to do it using another method. This is one of the main uses of Ajax in web applications.
This is also a nice example on how you can use the Query.Params property to get dynamic results and how the new SQL Window and Data Explorer work.Posted by José León on June 3rd, 2010 under Delphi for PHP, PHP |