$data = mysql_query("select `messages`.*, `users`.`url`, `users`.`id`
from `messages`, `users` where `messages`.`user` = `users`.`login` ORDER BY input_date DESC LIMIT 1") or die(mysql_error());
while($info = mysql_fetch_array( $data ))
{
Echo $info['url'];
Echo $info['id'];
Echo $info['short_description'];
}
_____________
Викижурнал - wikijournal.ru