Date: 11/10/00
- Next message: Adv. Systems Design: "[PHP-DB] get or post"
- Previous message: Stephen Hui: "Re: [PHP-DB] Error in php-4.0.3 ?"
- Next in thread: php3 <email protected>: "Re: [PHP-DB] MySQL SELECT help"
- Maybe reply: php3 <email protected>: "Re: [PHP-DB] MySQL SELECT help"
- Reply: Bob Hall: "[PHP-DB] Re: MySQL SELECT help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have three tables
table product
===========
stockno
name
table product_category
==================
stockno
category
table product_image
================
stockno
data
select * from product
================
1234 truck
select * from product_category
========================
1234 automobile
select * from product_image
======================
1234 file1.jpg
select * from product, product_category, product_image
============================================
1234 truck 1234 automobile 1234 file.jpg
see thats fine, but now what I want is if there are no entries in one of
the tables to still return the data it knows about. ie.
select * from product
================
1234 truck
select * from product_category
========================
1234 automobile
select * from product_image
======================
Empty Set
select * from product, product_category, product_image
============================================
1234 truck 1234 automobile NULL NULL
Can this be done ?
Chris Lee
Mediawaveonline.com
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Adv. Systems Design: "[PHP-DB] get or post"
- Previous message: Stephen Hui: "Re: [PHP-DB] Error in php-4.0.3 ?"
- Next in thread: php3 <email protected>: "Re: [PHP-DB] MySQL SELECT help"
- Maybe reply: php3 <email protected>: "Re: [PHP-DB] MySQL SELECT help"
- Reply: Bob Hall: "[PHP-DB] Re: MySQL SELECT help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

