Re: [PHPDOC] FAQ Error From: Richard Lynch (richard <email protected>)
Date: 05/22/00

The FAQ underwent a recent revision: It may be suggesting something that is
not a part of your PHP version.

Use NAME=whatever[] in your FORM tag INPUTs: The key is to have [] there,
so that PHP will make an ARRAY of values instead of just over-writing with
the last one it gets.

You can even use NAME=whatever[index] if you like, and get a key/value
*pair* instead of just a 0-based integer array of values.

Disclaimer: Haven't seen the new FAQ, and I don't find XML appealing.

> Currently viewing: http://www.php.net/FAQ.php3
>
> In the index I see:
>
> 7.9. How do I get all the results from a SELECT MULTIPLE HTML tag?
>
> which is EXACTLY the problem I'm having, but the links points to:
>
> 7.9. How am I supposed to mix XML and PHP? It complains about my <?xml>
tags!
>
> I've searched the page from top to bottom and can't find the answer, if
> there is one can you please give it to me?
>
> Thanks,
>
> Tim.