Reply to Re: How to move arrays from html webpage to webpage?

Your name:

Reply:


Posted by Sanders Kaufman on 01/15/07 08:10

duzhidian@gmail.com wrote:
> Hello:
>
> There are a couple techniques to move information from different html
> web page to web page.
> 1. URL;
> 2. Cookie;
> 3. Form;
> 4. Session;
>
> All the examples I found are move distinguished variables from page to
> page, such as "?weight=20&name='apple'".
>
>
> I need users choose from the first web page (the arrays will be
> generated), then use it in second and third html web pages. How do I
> transfer them (arrays) and which way is the best?
>
> For example, if I have two arrays,
>
> $fruit[] = array("apple", "pear", "orange");
> and associative array
> $myCats["Me"]="Merry";
> $myCats["Pi"]="Pippin";
> $myCats["He"]="Hergie";
>
> How to do that?
>
> Thanks in advance.

You could use the "explode" and "compress" array functions in PHP.

[Back to original 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

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