RE: [PHP] Converting a string

From: Date: Fri, 17 Mar 2006 18:23:35 +0000
Subject: RE: [PHP] Converting a string
Groups: php.general 
Request: Send a blank email to php-general+get-232149@lists.php.net to get a copy of this message
[snip] If you have similar element names in $_POST, comething like: $human_friendly = array("psFirstName" => "First Name"); foreach ($_POST as $ key => value) { echo "Cannot leave {$human_friendly[$key]} blank"; } [/snip] But I don't want to create another array, and should'nt have to

« previous php.general (#232149) next »