|
Posted by C. David Rossen on 09/25/45 11:19
Hello:
I think I have what would be an easy solution for most people that know
mysql. I just don't know it very well.
I have a membership database of a professional organization of lawyers,
cpa's, etc. There is a field called "designation" (laywers, cpa's, clu's,
etc). I am going to build a search form with a drop down box so they can
search by designation. How would I write the select statement? The table
name is directory.
select from directory where designation = ???????? order by LastName ASC
Not sure how to reference the designation choice from the drop down list in
the select statement.
I also wanted to do a text search for LastName
select from directory where LastName like ?????? order by LastName ASC
If someone can lend a novice a hand, I'd greatly appreciate any help. Thanks
in advance.
David
Navigation:
[Reply to this message]
|