PHP-Mysql multiple queries question

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
nada
Forum Newbie
Posts: 1
Joined: Fri Jul 09, 2004 2:35 pm

PHP-Mysql multiple queries question

Post by nada »

Are there any things to watch our for when creating pages with multiple queries on the page? It will be a single DB. I just need to extract data from 3-4 different tables, sometimes different data from the same table. some of the queries will be joins, but some queries are totally different then the others.

Thanks.
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

You can use as many queries as you like, just make sure you dont overwrite the variable that holds the result if you still need it elsewhere on the page.
Post Reply