RE: [PHP] $_POST not working with str_replace

From: Date: Wed, 24 Mar 2004 00:13:26 +0000
Subject: RE: [PHP] $_POST not working with str_replace
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181335@lists.php.net to get a copy of this message
what happens if you do the following? <?php $name = $_POST['FNAME']; echo "::$name::"; $output = str_replace("<<FNAME>>", $name, $output); ?> ?? I tried that, but I know I can get the values from the $_POST array as per John's email about using print_r($_POST) to see what was showing. And yes I get the value I wanted in between the :: ::. Thanks for trying though, Anyone else have any ideas on this problem? Thanks! Wolf

« previous php.general (#181335) next »