> $sql = "select id, date, name, text from table1 union";
> $sql2 = "select id, date, name, text from table2 union";
> $sql3 = "select id, date, name, text from table3 order by date desc";>
No, it's all one query.
$sql = "select id, date, name, text from table1 union "
."select id, date, name, text from table2 union "
."select id, date, name, text from table3 order by date desc";
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php