Ruud Hermans Posted August 15, 2009 Share Posted August 15, 2009 I want to write a script that everytime when it gets called displays a diffrent message and when the last message is called jump back to the first one. I want it to display quotes of people in a little box on a website but have no idea how I should build it. Anyone any suggestions ore techniques or even maby any example scripts? Link to comment https://forums.phpfreaks.com/topic/170435-need-help-with-a-script/ Share on other sites More sharing options...
abazoskib Posted August 15, 2009 Share Posted August 15, 2009 first thing, whether or not you store the quotes in a database, you should place them into an array. then use shuffle() to randomize them. Link to comment https://forums.phpfreaks.com/topic/170435-need-help-with-a-script/#findComment-899052 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.