Thanks for the response - I found the answer to Q1 - the problem of
formatting newlines - I was running the code outputting to browser - and
got lazy on some - just pasting the PHP manual examples code directly,
without bracketing with HTML tags such as ... etc. Of course that
won't produce th
On 24 September 2010 12:49, YAD(YetAnotherDavid) wrote:
> Peter Lind wrote:
>>
>> On 23 September 2010 21:47, YAD(YetAnotherDavid) wrote:
>>>
>>> This code is 95% cut and paste from the PHP manual examples -
>>> the Types/Strings/Heredocs section and the Filesystem/fnmatch pages.
>>> There are ac
Peter Lind wrote:
On 23 September 2010 21:47, YAD(YetAnotherDavid) wrote:
This code is 95% cut and paste from the PHP manual examples -
the Types/Strings/Heredocs section and the Filesystem/fnmatch pages.
There are actually two questions here - I have combined the code into one
...
Question
As far as I know, you wont get any line breaks.
I would suggest putting the results into tags to preserve
formatting.
whenever I do a print_r(), i also encapsulate it within a
tag so it is readable.
on another note, when I use variables within double quotes "" (or even
the heredoc (but i use s
On 23 September 2010 21:47, YAD(YetAnotherDavid) wrote:
> This code is 95% cut and paste from the PHP manual examples -
> the Types/Strings/Heredocs section and the Filesystem/fnmatch pages.
> There are actually two questions here - I have combined the code into one
> test file ... the strings in
On 8/29/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> I don't think you can have a space between the <<< and the 'END' bit...
>
> On Wed, August 29, 2007 6:00 am, RodgerW wrote:
> > Are heredocs supported by PP 5.2.3 running in WinXP/Apache2.2.4 ?
> > I prrint via heredocs and its not working. Pri
I don't think you can have a space between the <<< and the 'END' bit...
On Wed, August 29, 2007 6:00 am, RodgerW wrote:
> Are heredocs supported by PP 5.2.3 running in WinXP/Apache2.2.4 ?
> I prrint via heredocs and its not working. Print with single quotes
> and
> double quotes work.
>
>
On Wed, 29 Aug 2007 13:01:07 +0200, RodgerW <[EMAIL PROTECTED]> wrote:
> Are heredocs supported by PHP 5.2.3 running in WinXP/Apache2.2.4 ?
> I prrint via heredocs and its not working. Print with single quotes and
> double quotes work.
>
>
> string init method 3: hered
> Are heredocs supported by PP 5.2.3 running in WinXP/Apache2.2.4 ?
> I prrint via heredocs and its not working. Print with single quotes and
> double quotes work.
>
>
> string init method 3: heredocs
> print <<< END
>
[snip]
Are heredocs supported by PP 5.2.3 running in WinXP/Apache2.2.4 ?
I prrint via heredocs and its not working. Print with single quotes and
double quotes work.
string init method 3: heredocs
The closing identifier must begin
RodgerW wrote:
Are heredocs supported by PHP 5.2.3 running in WinXP/Apache2.2.4 ?
I prrint via heredocs and its not working. Print with single quotes and
double quotes work.
string init method 3: heredocs
END;
?>
It works here
11 matches
Mail list logo