Connecting Tech Pros Worldwide Help | Site Map

User selection from drop down menu

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 10:49 AM
Rob
Guest
 
Posts: n/a
Default User selection from drop down menu

I have 2 drop down menus. 1 is to pick a Province and the other is to
pick a trade (plumbng electrical etc)

The user selects which province and then what trade then hits submit
which should list all entries in the table. How would I formulate the
select statment for MySQL to display the results in a webpage. The
variable in my form are $province and $category

  #2  
Old July 17th, 2005, 10:50 AM
Erwin Moller
Guest
 
Posts: n/a
Default Re: User selection from drop down menu

Rob wrote:
[color=blue]
> I have 2 drop down menus. 1 is to pick a Province and the other is to
> pick a trade (plumbng electrical etc)
>
> The user selects which province and then what trade then hits submit
> which should list all entries in the table. How would I formulate the
> select statment for MySQL to display the results in a webpage. The
> variable in my form are $province and $category[/color]

Dear Rob,

Do you expect us to look right through our internetconnection into your
system and see the mySQL database?

How can anybody answer such a question without knowing how your
tables/database is constructed?

DO you have a table with provinces?
DO you have a table with catagories?
DO you have a table with trades?
What are their names?
How are they related? (Foreign keys and such)

It is like me asking you this now:
"Dear Rob,
What is the shortest route to the supermarket from where I am?"

Quite impossible.

Regards,
Erwin Moller
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.