Не выводит последнюю запись из БД
Подскажите, что не так:
$sql_select = "SELECT title FROM work_kemerovo ORDER BY id DESC LIMIT 13";
$result = mysql_query($sql_select);
$myrow = mysql_fetch_array($result);
while ($myrow = mysql_fetch_array($result))
{
echo $myrow['title']."<br /><br />";
}
$sql_select = "SELECT title FROM work_kemerovo ORDER BY id DESC LIMIT 13";
$result = mysql_query($sql_select);
$myrow = mysql_fetch_array($result);
while ($myrow = mysql_fetch_array($result))
{
echo $myrow['title']."<br /><br />";
}
$sql_select = "SELECT title FROM work_kemerovo ORDER BY id DESC LIMIT 13"; { echo $myrow['title']."<br /><br />"; }