How are you including the file in question?
Jim
- Original Message -
From: "Liam Gibbs" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 9:58 PM
Subject: [PHP] Dollar signs in values
How is it I can properly get PHP to represent dollar signs when putt
Subject: Re: [PHP] Dollar signs in values
And what about:
print
htmlspecialchars('[EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL
PROTECTED]|#:~December,2003~on
~fjskl');
It seems to work for me.
--
Jason k Larson
Niklas Lampén wrote:
> print
> htmlspecialchars("[EMAIL
And what about:
print htmlspecialchars('[EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL PROTECTED]|#:~December,2003~on~fjskl');
It seems to work for me.
--
Jason k Larson
Niklas Lampén wrote:
print htmlspecialchars("[EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL
PROTECTED]|#:~December,
2003~on~fjs
print htmlspecialchars("[EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL
PROTECTED]|#:~December,
2003~on~fjskl");
Niklas
-Original Message-
From: Liam Gibbs [mailto:[EMAIL PROTECTED]
Sent: 7. maaliskuuta 2003 8:13
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Dollar signs in values
On Friday 07 March 2003 14:13, Liam Gibbs wrote:
> > Could you show some code to illustrate the unpredictable results that you
>
> get?
>
> Here's what I have in my file:
>
> [EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL PROTECTED]|#:~December, 2003~on~fjskl
>
> It's first exploded() by ~,
What d
> I'll try the single quotation mark method first, though.
Single quotations didn't seem to work either.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Could you show some code to illustrate the unpredictable results that you
get?
Here's what I have in my file:
[EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL PROTECTED]|#:~December, 2003~on~fjskl
It's first exploded() by ~, then those values are produced by print("")
statements, like this one:
code snippets would be helpful
-Original Message-
From: Liam Gibbs [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 5:07 PM
To: php list
Subject: Re: [PHP] Dollar signs in values
> Escape them with a backslash:
>
> $text = "The amount is \$400.-";
All that
> Escape them with a backslash:
>
> $text = "The amount is \$400.-";
All that does is print \$ in my HTML.
What's going on is that it will put, say, RR$T into a file when that's typed
into a textbox or any typable form control. That's properly saved in the
file.
So the file will contain RR$T.
W
On Friday 07 March 2003 13:58, Liam Gibbs wrote:
> How is it I can properly get PHP to represent dollar signs when putting it
> into HTML?
>
> I know that dollar signs denote the beginning of a variable, like
> $reference or $ftpstream or whatever. However, I have a text file that
> contains (or ca
At 06:58 07.03.2003, Liam Gibbs said:
[snip]
>How is it I can properly get PHP to represent dollar signs when putting it
>into HTML?
>
>I know that dollar signs denote the beginning of a variable, like $reference
>or $ftpstream or whatever. However, I have
11 matches
Mail list logo