|
Posted by Michael Fesser on 01/02/08 19:54
..oO(Alan M Dunsmuir)
>Michael Fesser wrote:
>>
>> If these records are identified by a number for example, assign them to
>> the 'value' attribute of your select options:
>>
>> <select name="foo">
>> <option value="1">first name</option>
>> <option value="2">second name</option>
>> ...
>> </select>
>>
>I'm still missing the point here, I think.
>
>If a user selects 'John Smith', and I know that that is the record with
>value '37', how does that help me to access, say, his address and
>date-of-birth without going back to the database?
Ah, OK. Got it.
>Are you implying that I have to?
Yes, I would fetch the data directly from the DB when it's needed.
Micha
[Back to original message]
|