Re: [Nolug] php help: storing from variable # of form entries

From: Joey Kelly <joey_at_joeykelly.net>
Date: Tue, 26 Aug 2003 23:07:04 +0000
Message-Id: <200308270407.h7R47F006158@vkh.joeykelly.net>

Can you please post the relevant snippets of code? I'm sure we can help out,
but more details would be nice.

Thanks :-)

--Joey

Thou spake:
>I am just learning some php to make a web application. I have hit upon
>what is (to me) an insuperable problem. I need to create a form page
>that presents a variable number of inputs. The php needs to iterate
>through this variable number of form inputs to store the data into a
>database.
>
>For example, a list of students is presented (size of class varies)
>along with entry fields for grades. Hit a button at the bottom of the
>page and all entered grades are stored.
>
>The problem I have is how to iterate the name of the variable from the
><input name=<varname>> tag.
>Does this make sense? I have been unable to find example code that does
>what I want. Maybe someone could at least point me in the right
>direction?
>___________________
>Nolug mailing list
>nolug@nolug.org

-- 
Joey Kelly
< Minister of the Gospel | Computer Networking Consultant >
http://joeykelly.net
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
___________________
Nolug mailing list
nolug@nolug.org
Received on 08/26/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST