- Code: Select all
echo "<marquee align='middle' behavior='slide' ";
echo "direction='right' scrolldelay='5'>";
hope that helps, let me know.
(this assume you took your text retrieved from mySql and stuck it in a variable name $str_text_from_sql; use whatever variable you want, or stick the text in the however you like.)