Просмотр поста

.
blackvj
$text = 'Мое Фото: [img]http://сайт.ru/files/photo/' . $user['id'] . '_small.jpg[/img]';
mysql_query("INSERT INTO `lenta` SET `user_id` = '".$user_id."', `l_time` = '" . $realtime . "', `text` = '".mysql_real_escape_string($text)."', `type` = 'foto'");