logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > ASP
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 03-03-2009, 02:28 PM   #1
rico1931
 
Join Date: Jun 2008
Location: Buffalo
Posts: 198
Default Passing values via drop down box

Hello All,

I was on some sites and I was wondering how people refresh their pages after a user has chosen a value from a drop down box. I've seen pages where users chose a state, then a drop down box appears with only counties within that state, and then once they pick that they can chose a city/town within that county. I know its through SQL and the WHERE = 'some parm' but how do you pass that parm to the same page and refresh it. That is the area I am getting stuck on.

Thanks
rico1931 is offline   Reply With Quote
Old 03-03-2009, 02:35 PM   #2
rico1931
 
Join Date: Jun 2008
Location: Buffalo
Posts: 198
Default

I guess my question is in DW does their have to be 3 separate record sets to do this?
rico1931 is offline   Reply With Quote
Old 03-04-2009, 01:26 AM   #3
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,174
Default

have no clue of specifics in ASP but the logic would be yo pass a parm to the same page , get that value (in PHP it would be ...?=country)
then your select statement would be where 'field' =$_GET['country']
as i said no idea in ASP but hope this helps
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 03-11-2009, 04:47 PM   #4
mangofreak
mangofreak's Avatar
 
Join Date: Jan 2006
Location: Toronto-Canada
Posts: 444
Default

Check this out: http://www.webthang.co.uk/goto/tutor...?cat=2&tut=173

Hopefully that will help you.

Javier
__________________
J.
DW | FW | HTML | CSS | ASP | some PHP | Windows | Ubuntu
mangofreak is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:21 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com