Jump to content

a dedication script -need help-


webtuto

Recommended Posts

hi im trying to make a dedication script and my code is :

 

<?php
include 'config.php';
$get_msg = mysql_query("select * from table order by id desc")or die(mysql_error());

while($oop = mysql_fetch_array($get_msg))
{
echo "<marquee behavior='slide' direction='left' >".$oop['name']." : </td><td>".$oop['message']."</marquee>";
}

?>

 

but when i test it , it gives me a message under the other , but iwant it to be the message near the other one

 

any help is appreciated thanks

Link to comment
https://forums.phpfreaks.com/topic/134871-a-dedication-script-need-help/
Share on other sites

<MARQUEE ...> is a text level element. By default <MARQUEE ...> has a WIDTH of 100%, so it might appear as a block level. However, if you set the width to something smaller than 100%, you might notice that the marquee is in line with the surrounding text.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.