Re: here docs
| From: | Carroll Barrett | Date: | Mon, 26 Jun 2000 15:04:50 +0000 |
| Subject: | Re: here docs | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3121@lists.php.net to get a copy of this message | ||
Bjorn,
You used the word OPTION both as the terminator of your "here"
doc and in the body of the here doc (on the line beginning with
"usage" - see below). Change one or the other.
>echo <<< OPTIONS
>you forgot something.
>usage is:$argv[0] -i [ip] -d [domain] -u [user] [OPTIONS] <=
problem!!!
>
>These are required fields...
<SNIP>
>-m add MySQL database options
>
>OPTIONS;
Regards,
Carroll Barrett