I am querying a table on two fields, Username and Password to validate a site log-on attempt. Is there a way of verifying that a record matches apart from running through a fetchrow_array() loop?
Keith
Keith
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[i]Check your recordset for EOF [/i]
my $VALID=0;
while(@results=$sth->fetchrow_array()){
++$VALID;
}
print "$VALID<BR>";
Yes, my query will always return a value.