Dear List,
 
            This is a simple problem, but I can't really find a good
solution. and I have a general question also.
 
1)       I have a webform that is save to a variable $html using
heredoc.
 
$html = <<< WEBFORM
.
<input name="company" type="text" value="$company">
.
 
the problem is that when you enter an apostrophe, and then repost the
page with the stored values, the apostrophe appears escaped in the edit
form.
how can I solve this?
 
2)       is it possible to put additional ('nested') php inside a
heredoc, or will that text simply print out?
 
Thank you,
 
Steven Kallstrom


Reply via email to