List Info

Thread: Mysql Query Multiple Tables




Mysql Query Multiple Tables
user name
2006-06-28 17:57:07
It's hard without examples of the table structure. Can you give a more detailed example?

Psychie

On 6/28/06, drec <gmail.com">dreclagmail.com> wrote:

I have a php script in where I would like to query multiple tables of a
database. &nbsp;The tables are all setup with the same structure. To make
things easy, I am trying to query two separate tables which I will call
Table_1 and Table_2.&nbsp; Within these tables, there is a column that is
either set to 1 or 0. &nbsp;If the column is set to 1 I would like all the
records of these 2 tables to display.

I know I have to join them somehow, but I cant seem to get anything to
work. Any suggestions?




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )