Teach Yourself PHP

Learn PHP on the weblog

Q&A

Posted by madesanto on December 26, 2007

Q1:

Can I create arrays for values entered into elements other than select and check box fields?

A1:

Yes, in fact any element name ending with empty square brackets in a form resolves to an array element when the form is submitted. You can use this fact to group values submitted from multiple fields of any type into an array.

Q2:

The header() function seems powerful. Will we look at HTTP headers in more detail?

A2:

We cover HTTP (Hypertext Transfer Protocol) in more detail in Section 14, “Beyond the Box.”

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

« Q&A
Q&A »