eval function

From: Date: Tue, 25 Feb 2003 23:59:50 +0000
Subject: eval function
Groups: php.windows 
Request: Send a blank email to php-windows+get-18705@lists.php.net to get a copy of this message
Hi All, Does anyone know why this won't work? I'm trying to retrieve the contents of a $_POST name dynamically depending on a unique value as below. // Works great $_POST['ADDRESS_ID_1'] // Does work. But shows a blank value, no errors. $numb=1; eval("\$_POST['ADDRESS_ID_".$numb."'];"); Any ideas? Thanks, Kevin

« previous php.windows (#18705) next »