while ( $users = $sth->fetchrow_array ) { if(param("username") =~ /$users/i) { #### if ( param("username") =~ /$$users[0]/i ) {