note 18781 deleted from ref.array by sniper

From: Date: Sat, 18 Oct 2003 18:05:18 +0000
Subject: note 18781 deleted from ref.array by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58850@lists.php.net to get a copy of this message
Note Submitter: php.net@chiefworks.com ---- To display the value of a variable from a two dimentional array inside a quoted string, use the following syntax: <?php $var = array( 'name' => array( 'first' => 'Caleb', 'last' => 'Maclennan' ) ); echo "My first name is {$var['name']['first']}!"; ?>

« previous php.notes (#58850) next »