in reply to Temporary Variables

Just as an FYI - you might want to change..
$temp = $a; $a = $b; $b = $a;
to what you really meant.

Rich