Welcome to Geeklog, Anonymous Wednesday, February 11 2026 @ 04:00 pm EST
Geeklog Forums
Step by step on how to create Latest stories Block
thoma
Anonymous
I'm a newbie. I need step by step on how they created this Latest Stories block as seen on below:
here: http://www.neohmusic.com/ for example
BELOW IS THE FORUM. COULC SOMEONE GIVE ME A SET BY STEP OF HOW TO CREATE THE BLOCK AND THIS ONE IN PARTICULAR. I WOULD LIKE TO TRY.
Authored by: mrb42 on Friday, November 12 2004 @ 10:30 AM EST
Thanks!
$numstories = 10;
$result = DB_query("Select sid, title,unix_timestamp(date) AS day FROM {$_TABLES['stories']} WHERE (date $nrows = DB_numRows($result);
for ($i = 1; $i $A = DB_fetchArray($result);
$retval .= date("M d",$A['day']) . ' -- ' . stripslashes($A['title']) . '
';
}
return $retval;
This is the final version for my site... check it out in action at Northeast Ohio Music
here: http://www.neohmusic.com/ for example
BELOW IS THE FORUM. COULC SOMEONE GIVE ME A SET BY STEP OF HOW TO CREATE THE BLOCK AND THIS ONE IN PARTICULAR. I WOULD LIKE TO TRY.
Authored by: mrb42 on Friday, November 12 2004 @ 10:30 AM EST
Thanks!
$numstories = 10;
$result = DB_query("Select sid, title,unix_timestamp(date) AS day FROM {$_TABLES['stories']} WHERE (date $nrows = DB_numRows($result);
for ($i = 1; $i $A = DB_fetchArray($result);
$retval .= date("M d",$A['day']) . ' -- ' . stripslashes($A['title']) . '
';
}
return $retval;
This is the final version for my site... check it out in action at Northeast Ohio Music
14
13
Quote
All times are EST. The time is now 04:00 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content