Thread
:
auto escape double quotes in php. anyone?
View Single Post
#
4
(
permalink
)
17-09-2003, 04:51 PM
lcf
Pro-Blogger
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power:
118
suryan is right.
note: variable will not be printed as its value in between single quote.
PHP Code:
$a
=
"variable"
;
$var
=
'This "is" a $a!'
;
echo
$var
;
the result will be: This "is" a $a!
,and Not: This "is" a variable!
__________________
LiewCF
|
Malaysia Bloggers Forum
lcf
View Public Profile
Visit lcf's homepage!
Find all posts by lcf