Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

running multiple queries

$
0
0

hi there.  i am trying to run a query that will select values from two tables.  I would like to run a query to select an event name and an id from table1, and then select subevent from table2 where the event_id is equal to the id from table1 query.  i know how to do this via a couple of loops, but I only want one loop.  can anyone help me get started?  thanks


Viewing all articles
Browse latest Browse all 13200

Trending Articles