Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

November 30, 2022, 12:54:58 AM

Login with username, password and session length
Members
  • Total Members: 3853
  • Latest: tty456
Stats
  • Total Posts: 193625
  • Total Topics: 21107
  • Online today: 43
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 0
Guests: 25
Total: 25

Author Topic: Today In History Question  (Read 10873 times)

0 Members and 1 Guest are viewing this topic.

Mitch

  • Guest
Re: Today In History Question
« Reply #10 on: March 16, 2006, 07:31:55 AM »
Oh and yes thank you Fel!!!!!

elpvn

  • Guest
Re: Today In History Question
« Reply #11 on: April 09, 2006, 12:50:11 PM »
Hix, It scroll all of one: the  scroll bar and the content of block  :o

Then I have made correct it by this code

Code: [Select]
$my_height = auto;
$today = mktime();
$today_day = date("j", $today);
$today_month = date("n", $today);

$request = db_query("SELECT pn_yid, pn_content FROM nuke_ephem WHERE pn_did=$today_day AND pn_mid=$today_month ORDER BY pn_yid ASC", __FILE__, __LINE__);
if (mysql_num_rows($request) > 0)

   {echo '<marquee bgcolor="transparent" scrollamount="2" direction="up" loop="true" width="100%" onmouseover=\'this.stop()\' onmouseout=\'this.start()\'>';

     
        echo '<div style="height: '.$my_height.'ex; overflow: auto;">';
while($row = mysql_fetch_assoc($request)){
echo '<b>' . $row['pn_yid'] . '</b> - ' . $row['pn_content'] . '<br />';
}
                echo '</div>';
        echo '</marquee>';         
mysql_free_result($request);
  }

It has fixed and work fine :laugh:
« Last Edit: April 09, 2006, 12:55:22 PM by elpvn »