You are here: Re: Array doesn't pass. « PHP Programming Language « IT news, forums, messages
Re: Array doesn't pass.

Posted by Daz on 11/04/06 17:11

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация