zardos
04-09-2007, 07:27 PM
How do i translate to VB code?
$sql = "SELECT mess FROM gb ORDER BY datum DESC limit 15";
//H?mta ur databas
$result = mysql_query($sql) or die(mysql_error());
while ($row = mysql_fetch_assoc($result)){
echo 'mess : '.$row['mess']. ' <br />';
}
And what part should be in the template?
$sql = "SELECT mess FROM gb ORDER BY datum DESC limit 15";
//H?mta ur databas
$result = mysql_query($sql) or die(mysql_error());
while ($row = mysql_fetch_assoc($result)){
echo 'mess : '.$row['mess']. ' <br />';
}
And what part should be in the template?