in reply to Re: Split and the tears it caused me.
in thread Split and the tears it caused me.

Or, if you don't need the array for anything else (and those are the only two values returned/needed), skip the extra variable and do:
while ( ($req, $ccode) = $sth->fetchrow_array() )

Impossible Robot