$k_post = mysql_result(mysql_query("SELECT COUNT(*) FROM `test`"), 0);
$k_page=k_page($k_post,$set['p_str']);
$page=page($k_page);
$start=$set['p_str']*$page-$set['p_str'];
$t=mysql_query("SELECT text FROM `test` ORDER BY `id` DESC LIMIT $start, $set[p_str]");
while($row = mysql_fetch_assoc($t)) {
echo '<div class ="nav1">';
echo $row['text'];
echo $row['nick'];
echo '</div>';
}
Не могу понять как вывести ники.
$k_page=k_page($k_post,$set['p_str']);
$page=page($k_page);
$start=$set['p_str']*$page-$set['p_str'];
$t=mysql_query("SELECT text FROM `test` ORDER BY `id` DESC LIMIT $start, $set[p_str]");
while($row = mysql_fetch_assoc($t)) {
echo '<div class ="nav1">';
echo $row['text'];
echo $row['nick'];
echo '</div>';
}
Не могу понять как вывести ники.