Posted by Toby Inkster on 01/15/07 14:14
duzhidian@gmail.com wrote:
> 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 of them *could* be used to store and retrieve array information, but
sessions are by far the easiest.
The others are only capable of storing and retrieving strings (not
arrays), so you'd need to use/write functions to do array<=>string
conversion. (serialize() and unserialize() are the the built-in PHP
functions to convert between array and string, and should be used
unless you have an overwhelming reason not to.)
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|