Re: input

From: Date: Wed, 13 Mar 2002 13:02:26 +0000
Subject: Re: input
Groups: php.general 
Request: Send a blank email to php-general+get-88322@lists.php.net to get a copy of this message
the single quotes you use for your echo indicate that the variable in your echoed string won't be parsed.... double quotes indicate that it will be parsed... e.g. $test = 1 echo '$test' // prints: $test echo "$test" // prints: 1 Greets, Edward > > > hello, > > Someone was kind enough to give me this code for sending a value from > > one page to another, but it doesn't work. I wonder if anyone can see > > anything wrong: > > > > <?php > > echo ' > > <input name="inp" type="hidden" value="', > > $_POST['inp'], '"> > > '; > > ?> > > > > I want to pass $inp to another pagee. > > > > Thanks In advance > > John > > > > _________________________________________________________________ > > Chat with friends online, try MSN Messenger: > > http://messenger.msn.com > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#88322) next »