(4 янв 2013, 05:51) (
0/
0)
[
0]
Wolf_Tomash™,
а php кодом можно было?)))
<?php
$r = mysql_query (\"SELECT z.*, u.* FROM zapiski z,users u WHERE (u.id = z.idwho AND z.idtowhom = \'\".$id.\"\' ) group by least(`idwho`,`idtowhom`),greatest(`idwho`,`idtowhom`) order by time desc LIMIT $o,$do\";
?>