[thelist] Quoted attibute values
Hendrik Mans
hm at netzbiest.de
Tue Jan 16 04:52:31 CST 2001
List,
> from what i understand...if you use
>
> echo "
>
> then all of your double quotes must be \'ed out....and you may use
> single-quotes unless -
>
> if you use
>
> echo '
>
> then the opposite is true....
Careful: "strings" are parsed, 'strings' are unparsed. So if you do this:
---cut---
$name = "Foo";
print("Hi $name!");
---cut---
it will print
---cut---
Hi Foo!
---cut---
but if you do this:
---cut---
$name = "Foo";
print('Hi $name!');
---cut---
it will print
---cut---
Hi $name!
---cut---
Take care,
Hendrik
More information about the thelist
mailing list