Using results from one mysql query to make another
| From: | Jason End | Date: | Thu, 27 Feb 2003 11:03:44 +0000 |
| Subject: | Using results from one mysql query to make another | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25950@lists.php.net to get a copy of this message | ||
I have a table that includes the ids of software
aplications and experts (apliexperts). My page is
loaded with the variable of the software id (softid),
which it uses to match the experts for that software.
But instead of returning just the expert id (expid),
to use that expid to get the full row entry from the
"experts" table.
So if my apliexperts table has the rows:
[softid] [expid] [id]
3 0 0
2 1 1
2 2 3
And the experts table has:
[id] [Name]
0 paul
1 john
2 mark
It needs to return john and mark if the softid is 2.
thanks,
Jay
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com