php - mysql problem
| From: | cajbecu | Date: | Fri, 14 Apr 2006 17:33:39 +0000 |
| Subject: | php - mysql problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-234003@lists.php.net to get a copy of this message | ||
hello there,
$sql = "SELECT * FROM
table1 LEFT JOIN table2 USING id
WHERE ...
GROUP BY table1.id";
mysql_query($sql);
the problem is, that, when in table2 is not matching data using that id,
i lose that id from output array. but i don`t want to.. is there any
posibility to keep that id?
cherrs, cajbecu