FlexRe Posted April 19, 2008 Share Posted April 19, 2008 i am looking for some kind of php live ticker with text editor. basically what i am trying to do is ADD a bar to the top of my website with editable moving text. i am not sure if this is the right part of forums to post this but please help... the website link is http://www.bihsoccer.com/ and bar would go right below the banner image.. i would be very grateful if anyone could help Link to comment https://forums.phpfreaks.com/topic/101857-help-please/ Share on other sites More sharing options...
ohdang888 Posted April 19, 2008 Share Posted April 19, 2008 a live bar would be done in javascript. Link to comment https://forums.phpfreaks.com/topic/101857-help-please/#findComment-521283 Share on other sites More sharing options...
FlexRe Posted April 19, 2008 Author Share Posted April 19, 2008 a live bar would be done in javascript. any ideas on how i would do that ? i am not what you would say VERY computer smart lol just no thing here and there... i know it should look something like <marquee direction="left" scrolldelay="100"></marquee> but how do i edit stuff inthere i havent got a clue Link to comment https://forums.phpfreaks.com/topic/101857-help-please/#findComment-521287 Share on other sites More sharing options...
Fadion Posted April 19, 2008 Share Posted April 19, 2008 If the editable text will be retrieved from a database or flat file, retrieve that text and show it with marquee (as u stated). Ex of database: <?php $resultsText = mysql_query("SELECT text FROM texts WHERE id=1"); $valuesText = mysql_fetch_array($resultsText); echo "<marque direction='left' scrolldelay='100'>" . $valuesText['text'] . "</marquee>"; ?> Link to comment https://forums.phpfreaks.com/topic/101857-help-please/#findComment-521311 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.