Hi there,
I've been searching thru the archives and on google for information which fits in with what I am trying to achieve but I'm either not computing what I'm reading or getting lost in the complexity of what it is that I'm aiming for!
Here is what I am trying to do.
I am selecting from a MYSQL table 'descriptions' x values (where x is total rows and UID for the row) and looping thru them to create a HTML form which looks like this (SHORT HAND)..
(NOT ACCURATE PHP! - just for explanation purposes)
for ($x=1; $x<=$recordcount; $x++) {
<input type=radio name =$x value=-3>
<input type=radio name =$x value=-2>
<input type=radio name =$x value=-1>
description $x
<input type=radio name =$x value=1>
<input type=radio name =$x value=2>
<input type=radio name =$x value=3>
}
etc etc.
I seem to have no problem in creating the HTML. I hit my snag when I am trying to evaluate and process the submitted values.
How do I evaluate the values from x -> total x?
Someone has suggested using an array but I have no experience of doing things this way as yet.
Could someone please explain in lamens terms how I go through each of the total x radio buttons and evaluate the value which the user has selected.
Any help using arrays or otherwise MUCH appreciated
Thanks