I have a form with option boxes.

<select name="user"
<option value="1">Bob</name>

When I do a $user = $result->valid('user'):

#1 Is what getting passed back the value (i.e. 1) or "Bob"?
#2 When I do a constraint on that is it on the value (i.e. 1) or "Bob"?

The value in this case is the (id) field in the database and I am using that to pass around in the sql calls I make.

Robert


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to