logo       
Google Custom Search
    AddThis Social Bookmark Button

ValidateRM $result->valid question: msg#00071

Subject: ValidateRM $result->valid question
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@xxxxxxxxxxxxxxxxx/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>