RE: [PHP] Delimiter WITHOUT lots of IF's

From: Date: Tue, 19 Aug 2003 17:30:42 +0000
Subject: RE: [PHP] Delimiter WITHOUT lots of IF's
Groups: php.general 
Request: Send a blank email to php-general+get-160034@lists.php.net to get a copy of this message
Cesar Aracena <mailto:lists@icaam.com.ar> on Tuesday, August 19, 2003 10:18 AM said: > Sensitivity: Confidential Oh really? > and not the CD quantity according to file size... Why is the array > there and what it is supposed to be called with to give one or > another result? Pay close attention to this part: > $cart_cdqty = array( > 'quantity' => $x, > 'total_size' => $n > ); > > return $cart_cdqty; That means it's returning an array. one index is called 'quantity' and the other is called 'total_size'. $qty = function(input); echo "quantity is ".$qty['quantity']; hth, chris.

« previous php.general (#160034) next »