•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 363,830 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,111 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1257 | Replies: 3
![]() |
•
•
Join Date: Mar 2007
Location: GA
Posts: 25
Reputation:
Rep Power: 2
Solved Threads: 1
You would want to use the order by clause in your sql select statement. For instance:
sql Syntax (Toggle Plain Text)
SELECT first_name, last_name FROM names ORDER BY last_name ASC;
Last edited by blufab : May 16th, 2008 at 10:41 am.
•
•
Join Date: May 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
I'm not sure if this is what you want, but it sounds like it.
I just wrote it yesterday.
nzlocations.sql has a whole bunch of New Zealand Cities in it, helpful data to see the drop down working.
You need php to use this code.
You will need to configure the database connection section of ajax.php.
Once done open the file dropdown.php in browser.
This is rough and insecure (ajax.php) but is only written as an example.
Cheers.
I'm not sure if this is what you want, but it sounds like it.
I just wrote it yesterday.
nzlocations.sql has a whole bunch of New Zealand Cities in it, helpful data to see the drop down working.
You need php to use this code.
You will need to configure the database connection section of ajax.php.
Once done open the file dropdown.php in browser.
This is rough and insecure (ajax.php) but is only written as an example.
Cheers.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- AJAX : Am i right with the concept? (JavaScript / DHTML / AJAX)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: CSS driven menu ie6 vs firefox...
- Next Thread: how to upload multiple files in single clicking of upload button.


Linear Mode