Re: ECHO $variable

From: Date: Mon, 09 Oct 2006 07:23:00 +0000
Subject: Re: ECHO $variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-242810@lists.php.net to get a copy of this message
you should try this... $saved_message_title = '1 Peter 5:7 "Cast all your cares on Him for He cares about you"'; ----- Original Message ----- From: "Ron Piggott (PHP)" <ron.php@actsministries.org> To: "PHP General" <php-general@lists.php.net> Sent: Saturday, October 07, 2006 11:39 PM Subject: [PHP] ECHO $variable > In one of my scripts I have > > <input type=text name="message_title" size=40 maxlength=80 value="<?echo > $saved_message_title;?>"> > > where > > $saved_message_title is 1 Peter 5:7 "Cast all your cares on Him for He > cares about you" > --- note the " > > When this is displayed on the screen $saved_message_title reads > > 1 Peter 5:7 > > I am assuming the " closes the value= > > How may I echo this to the screen and have the full text be displayed, > not just 1 Peter 5:7 ? > > Ron >

« previous php.general (#242810) next »