RE: [PHP] How to nest information from different tables.
| From: | Karl-Heinz Schulz | Date: | Fri, 30 Jul 2004 12:23:01 +0000 |
| Subject: | RE: [PHP] How to nest information from different tables. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192296@lists.php.net to get a copy of this message | ||
John,
"eventdetails" is a table
"event_id" is a field in the eventdetails table
I want to show all file downloads (information's in table eventdetails) for
all events (table name is "event")
TIA
-----Original Message-----
From: John Nichel [mailto:jnichel@by-tor.com]
Sent: Friday, July 30, 2004 8:17 AM
To: php-general@lists.php.net
Subject: Re: [PHP] How to nest information from different tables.
Karl-Heinz Schulz wrote:
<snip>
> $eventdetails_query = mysql_query("select details, information, file_name
> from eventdetails where event.id = eventdetails.event_id");
</snip>
What is 'eventdetails.event_id'?
Should this be a variable?
$eventdetails.event_id?
Tracking #: 903D32A5877AC940823D21982DB192A8131A4DB5
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php