phpbar.de logo

Mailinglisten-Archive

[php] 2 Abfragen

[php] 2 Abfragen

Boris Penck php_(at)_phpcenter.de
Sat, 5 May 2001 16:28:07 +0200


> $query  = "SELECT * FROM news WHERE status='1' ORDER BY id DESC LIMIT 5";

select * from news left join author where news.status = '1' and author.id =
new.author order by id desc limit 5

So in etwa, ich weiss halt nicht deine genauen feldbschreibungen



php::bar PHP Wiki   -   Listenarchive