Re: There's got to be a better way



Rami Elomaa wrote:

Let's try again, shall we.

for($counter=1;$counter<6;$counter++)
if (isset($c['s']['a'.$counter]))
echo $c['s']['a'.$counter]."<br>";

Thanks. In the clear light of day, I think I'm going to stick with
what I've got anyway. There's lots of other things coming out of
$c['s'], and the existing way is arguably more readable.

--
"Checking identity papers is a complete waste of time. If anyone can
be counted on to have valid papers, it will be the terrorists".
.



Relevant Pages