heredoc is probably the best way to go. There's no way you can mess up your
quotes, and you don't have to worry about escaping. Altough I wonder what
would happen if you put ?> in a heredoc, would it stop processing the php,
thinking that it was the end of the php file, or would it just treat
Here's how I'd do it.
getRecordId();//Or, you can put this inside the heredoc with {}
//heredoc
$str= <<
txt;
if (!empty($emp_row->getField('testfield')) print $str;
else print "Non Print";
?>
[EMAIL PROTECTED] wrote:
Hello Folks,
I would like to be able to wrap a 'form' inside a php '
2 matches
Mail list logo