On Mon, Dec 22, 2008 at 15:56, Rene Fournier <renefourn...@gmail.com> wrote:
>
> Each line should start with a $dollar sign, then some arbitrary text, ends
> with a percent sign, followed by carriage-return and line-feed. Sometimes
> though, the final line is not complete. In that case, I want to save those
> lines too.

    Just a quick note on that, Rene....

> $result = array (       "matches" =>
>                array ( 0 => "$sometext %\r\n",

    If you want to have the dollar sign included, use single quotes.
Double-quoted things translate the data enclosed within them, so
"$sometext" would translate that into the value of the variable (or
null with E_NOTICE if it's uninstantiated/undefined).  Conversely,
'$sometext' would be the literal $sometext.

-- 
</Daniel P. Brown>
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Unadvertised dedicated server deals, too low to print - email me to find out!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to