Ошибка в коде звучит так "----- Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C: \ Abyss Web Server \ htdocs \ index. php on line 44 ----- "
Here is the code itself
print <<<FORM <form method="POST" action="$form->encode($_SERVER['PHP_SELF'])}"> $errorHtml Dish: {$form->select($GLOBALS['main_dishes'],['name' => 'dish'])} <br/> Quantity: {$form->input('text', ['name' => 'quantity'])} <br/> {$form->input('submit',['value' => 'Order'])} </form> FORM; Spaces in my FORM code are removed before and after. The text is first moved the line Enter'om. PS I work in Nodepad ++