Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

displaying info in a db

Status
Not open for further replies.

help120

Technical User
Apr 15, 2001
198
0
0
US
I've 3 tables.. name, email, and catz

I've ether a 1,2 or a 3 in catz and depending on what value it is I want to display name and email.

ex.

Name: email: catz:
joe joe@joe.com 1
ryan ryan@ryan.com 3
pat pat@pat.com 2
sarah sarah@sarah.com 2

If the value is 2 then I want to show joe and sarahs info.
If the value is 1 then I want it to show joes info.
etc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top