[SOLVED] EOQ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
wyred
Forum Commoner
Posts: 86
Joined: Mon Dec 20, 2004 1:59 am
Location: Singapore

[SOLVED] EOQ?

Post 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]
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

search for heredoc
wyred
Forum Commoner
Posts: 86
Joined: Mon Dec 20, 2004 1:59 am
Location: Singapore

Post by wyred »

Ahh... So it is just that simple. Thanks ^^
Post Reply