Strings and default values...

From: Date: Fri, 20 Dec 2002 18:20:32 +0000
Subject: Strings and default values...
Groups: php.general 
Request: Send a blank email to php-general+get-129010@lists.php.net to get a copy of this message
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

« previous php.general (#129010) next »