This is a discussion on Sorting information from text-field within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Information is entered randomly in just one text box (name, social security number, lenght,weight). The problem is how to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Information is entered randomly in just one text box (name, social security
number, lenght,weight). The problem is how to recognize that what actually was the name, and what was lenght etc. So how can i separate the inputs in their own variables? |
|
|||
|
<mh> <> wrote:
> Information is entered randomly in just one text box (name, social > security number, lenght,weight). > > The problem is how to recognize that what actually was the name, and what > was lenght etc. > > So how can i separate the inputs in their own variables? Sorry but that's the wrong approach. Create separate input fields for each. JOn |
|
|||
|
<mh> <> wrote:
> >> Sorry but that's the wrong approach. Create separate input fields for > each. >> > > That would be easier, but I just have to use one field. Hm, sorry, but I can't help you there .. how would you determine what is length and what is weight? The validation would be a nightmare and not foolproof at all. Why can't you use separate fields? JOn |
![]() |
| Thread Tools | |
| Display Modes | |
|
|