Last Blog
Started on the old forum in September 2008 · view the original in the archive · old links redirect here
$blg = mysql_fetch_array(mysql_query("SELECT id, bname FROM ibwf_blogs ORDER BY bgdate DESC LIMIT 0,1")); $blgo = htmlspecialchars($blg[1]); echo "Last Blog: <a href="index.php?action=viewblog&sid=$sid&bid=$blg[0]">$blgo</a> ";
untested as per usual lol 🙂
$sql =mysql_fetch_array(mysql_query( "SELECT id, bname, bowner FROM ibwf_blogs ORDER BY id DESC LIMIT 1"));
$name = htmlspecialchars($sql[1]);
$name1= getnick_uid($sql[2]);
echo "Last Blog: <a href=\"index.php?action=viewblog&sid=$sid&bid=$sql[1]\">$name</a> BY: <a href=\"index.php?action=viewuser&sid=$sid&who=$sql[2]\">$name1</a>
";
this is another version from DNS at forum@wapfuns. .i'll try both. .Thanks too inca. .