Page 1 of 1

[SOLVED] EOQ?

Posted: Sun Mar 06, 2005 8:42 pm
by wyred
I'm working on customizing SugarCRM and as I read the codes, I noticed this:

Code: Select all

$the_form .= <<<EOQ
	<form name="&#123;$prefix&#125;OppSave" onSubmit="return check_form('&#123;$prefix&#125;OppSave')" method="POST" action="index.php">
	<input type="hidden" name="&#123;$prefix&#125;module" value="Opportunities">
	<input type="hidden" name="$&#123;prefix&#125;action" value="Save">
EOQ;
What does the <<<EOQ mean? I tried searching the online PHP documentation with no results.[/url]

Posted: Sun Mar 06, 2005 8:44 pm
by feyd
search for heredoc

Posted: Mon Mar 07, 2005 1:48 am
by wyred
Ahh... So it is just that simple. Thanks ^^