thank you for schooling me :) i learn something new everyday!
- Original Message -
From: Richard Lynch [EMAIL PROTECTED]
To: benifactor [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Monday, October 09, 2006 11:02 AM
Subject: Re: [PHP] ECHO $variable
On Mon, October 9, 2006 7
On Sun, October 8, 2006 1:39 am, 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
On Mon, October 9, 2006 7:45 am, benifactor wrote:
the way i posted worked fine with out either... he doesn't need to use
these
to format the way his output is displayed, he only needs to use the
proper
php syntax if i am correct.
You were wrong, and you're still wrong. :-)
Try it and see.
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
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) [EMAIL PROTECTED]
To: PHP General php-general@lists.php.net
Sent: Saturday, October 07, 2006 11:39 PM
Subject: [PHP] ECHO $variable
@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
, October 08, 2006 1:41 AM
Subject: Re: [PHP] ECHO $variable
On Mon, 9 Oct 2006 00:23:00 -0700, benifactor [EMAIL PROTECTED] wrote:
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
Ron Piggott wrote:
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 ?
http://php.net/htmlentities
You should really be using
?
Then your solution breaks anyway...
Like Chris said, you should be using htmlentities for output...
John W
- Original Message -
From: Penthexquadium [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Sunday, October 08, 2006 1:41 AM
Subject: Re: [PHP] ECHO $variable
On Mon, 9 Oct
9 matches
Mail list logo