Welcome Guest, Not a member yet? Register   Sign In
How Would You Structure This?
#7

[eluser]BlueCamel[/eluser]
Well, I would do this. It's like a queue Wink

Code:
$items = array(
   "Item 1: $50.00",
   "Item 2: $75.00",
   "Item 3: $100.00",
);

while ($items) {
   print "<p>Now for sale!!! - ". array_shift($items) "</p>";
   sleep(500);
};


Messages In This Thread
How Would You Structure This? - by El Forum - 01-17-2008, 07:12 AM
How Would You Structure This? - by El Forum - 01-17-2008, 07:19 AM
How Would You Structure This? - by El Forum - 01-17-2008, 07:22 AM
How Would You Structure This? - by El Forum - 01-17-2008, 07:23 AM
How Would You Structure This? - by El Forum - 01-17-2008, 07:30 AM
How Would You Structure This? - by El Forum - 01-17-2008, 08:08 AM
How Would You Structure This? - by El Forum - 01-17-2008, 08:37 PM
How Would You Structure This? - by El Forum - 01-17-2008, 11:18 PM
How Would You Structure This? - by El Forum - 01-18-2008, 05:15 AM
How Would You Structure This? - by El Forum - 01-18-2008, 07:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB