<?
$var = "this.that";

list( $thisVal, $thatVal ) = each( explode( ".", $var ));

echo "$thisVal, $thatVal"
?>

What is getting echo'd out is:

"0, this"

Why?  What am I missing here?

Chris


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to