Sorting information from text-field

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 ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-29-2003
 
Posts: n/a
Default Sorting information from text-field

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?



Reply With Quote
  #2 (permalink)  
Old 10-29-2003
Jon Kraft
 
Posts: n/a
Default Re: Sorting information from text-field

<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
Reply With Quote
  #3 (permalink)  
Old 10-29-2003
 
Posts: n/a
Default Re: Sorting information from text-field


> Sorry but that's the wrong approach. Create separate input fields for

each.
>
> JOn


That would be easier, but I just have to use one field.


Reply With Quote
  #4 (permalink)  
Old 10-29-2003
Jon Kraft
 
Posts: n/a
Default Re: Sorting information from text-field

<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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:29 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0