Topic: Help php + mysql >> flash news ...
Let me explain
I would like a system to give to users with a sentence some infos ... "flash news" ...
in DB
- a table ID
- a table containing the sentence
- the date the flash news appears on the site
- the date the flash news disappears on the site
in html the code would be (for example)
<div id="dropmsg0" class="dropcontent" subject="">
Chanceux que vous êtes : The Servant, qui se produira à l'Exo7 le 30 mars prochain, fera une séance dédicace l'après-midi
à Virgin Megastore ...
</div><div id="dropmsg1" class="dropcontent" subject="">
La nouvelle version du site faisant la promotion du PLUS GROS FESTIVAL d'Europe est en ligne !!! <a href="http://www.szigetfestival.com/index-2.php" target="_blank">C'est ICI !!!</a>
</div>
So ... the dropmsg[NUMBER]... changes with the numbers of the news ...
news One = dropmsg0
news Two = dropmsg1 ...
To finish, it would be a descendant new (the first new = the most recent)
of course, finished flash new is removed from the final html code.
Sombebody to help me ?