From: Yasmine Kedoo <yazkedoo@hotmail.com>
To: pgsql-php@postgresql.org
Subject: Relating Tables - Search & Display
Date: Sat, 10 Apr 2004 10:22:29 +0000
Message-ID: <BAY14-F26UxnoHreYYk0003a26b@hotmail.com> (raw)
Hi there.
I'd like to thank everyone who helped me with my previous problem, now I
have a fresh one!
I want to search for data using PHP from 2 different tables, though these
tables are linked by an addressID, created using CHAR. The problem, is
relating the tables, then being able to run a query to retrieve the data.
Currently, I am running 2 queries to serach.
I tried to use INHERITS, but it did not work. Does anybody have any ideas?
Also, does anybody know how to display the result obtained from
pg_fetch_object(), i am using this as part of the search?
Thanx Again :-)
_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: yazkedoo@hotmail.com
Subject: Re: Relating Tables - Search & Display
In-Reply-To: <BAY14-F26UxnoHreYYk0003a26b@hotmail.com>
References: <BAY14-F26UxnoHreYYk0003a26b@hotmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox