Re: Notice: Undefined index: op
| From: | Jochem Maas | Date: | Tue, 22 Feb 2005 21:57:47 +0000 |
| Subject: | Re: Notice: Undefined index: op | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38642@lists.php.net to get a copy of this message | ||
Martin Norland wrote:
J. Connolly wrote:...
You may want to use a different quoting style - I can't recall the name, but it's taken from perlHEREDOC. (i believe its custom to write it in capitals,)
echo <<<EOF<form action="$_SERVER[PHP_SELF]" method="POST">... the rest of your stuff, then on its own line right at the beginning of the line (no tabs/etc. :( ) ... EOF; it basically echo's until it sees that delimiter, that could be EOD or STOP or whatever (well, there might be reserved words issues - I could more easily check if I could remember the name of the quoting style...) Cheers