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
wyred
Forum Commoner
Posts: 86 Joined: Mon Dec 20, 2004 1:59 am
Location: Singapore
Post
by wyred » Sun Mar 06, 2005 8:42 pm
I'm working on customizing
SugarCRM and as I read the codes, I noticed this:
Code: Select all
$the_form .= <<<EOQ
<form name="{$prefix}OppSave" onSubmit="return check_form('{$prefix}OppSave')" method="POST" action="index.php">
<input type="hidden" name="{$prefix}module" value="Opportunities">
<input type="hidden" name="${prefix}action" value="Save">
EOQ;
What does the <<<EOQ mean? I tried searching the online PHP documentation with no results.[/url]
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sun Mar 06, 2005 8:44 pm
search for heredoc
wyred
Forum Commoner
Posts: 86 Joined: Mon Dec 20, 2004 1:59 am
Location: Singapore
Post
by wyred » Mon Mar 07, 2005 1:48 am
Ahh... So it is just that simple. Thanks ^^