PHP - newbie needing help
Posted on 2007-07-25
I need help learning PHP coding. I have a lesson to do. I have a simple html form designed to take street, city, state and zipcode. Eventually, this information is to go into a database with the same fields plus and autoincrement ID. I'll have to use a $_POST arrayand somehow get this information into a table in mySQL.
I'm not sure where to begin. Would I create an array before the form? I have one of O'Reilly's books here. His example gathers information from a form with one text area, but I have several text areas (they must be text areas for this exercise). There is an example for multiple answers from a check box in the book, but not for multiple values from text area boxes.
So I'm not certain where in my file to make this array, and I would appreciate a hint about what I need to do to send this to the database.