Re: ECHO $variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The database part of this is that I just retrieve $saved_message_title
from mySQL and thought it was already escaped and am not sure what went
wrong with the ECHO

On Sun, 2006-10-08 at 01:32 -0400, Ron Piggott (PHP) wrote:

> 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 it 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

-- 
ron.piggott@xxxxxxxxxxxxxxxxxx
www.actsministrieschristianevangelism.org

Acts Ministries Christian Evangelism
"Where People Matter"
12 Burton Street
Belleville, Ontario, Canada K8P 1E6

In Belleville Phone: (613) 967-0032
In North America Toll Free: (866) ACTS-MIN

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux