Jump to content

HELP PLEASE !!!


FlexRe

Recommended Posts

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  :D

Link to comment
https://forums.phpfreaks.com/topic/101857-help-please/
Share on other sites

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 :D

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

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

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.