Hi, I’m using code looking like this:
[php]
<? $num = rand(0,2); switch ($num) { case 0: echo "first sentence"; break; case 1: echo "second sentence..."; break; case 2: echo "third sentence..."; break; } ?>[/php]
Problem is that every third time (or so) nothing at all is being echoed. Anyone have any idea why?
The code above is only a shorter passage of the original code.
//ttb.