|
Posted by Daz on 11/04/06 17:12
Daz wrote:
> Pedro Graca wrote:
> > Daz wrote:
> > > echo "<pre>",print_r($_POST),"</pre>;
> >
> > echo "<pre>"; print_r($_POST); echo "</pre>";
> >
> > Will not print the result value of the print_r() call, which is 1. Or
> > you could do
> >
> > echo "<pre>",print_r($_POST, true),"</pre>;
> >
> > which will make print_r() return a formatted string with the contents
> > of $_POST instead of the 1 above.
> > print_r($something, true) *does*not* output anything; the output is
> > done by the echo.
>
> Hi pedro.
>
> I'm sorry, but you are incorrect in one of your statements.
> echo "<pre>",print_r($_POST),"</pre>; will work just fine, I recommend
> you try it as I use it all the time. Please note, my use of commas as
> opposed to periods.
>
> Best wishes.
>
> Daz.
Sorry Pedro. I misread your post.
Navigation:
[Reply to this message]
|