# Help needed asp

**URL:** https://forum.kirupa.com/t/help-needed-asp/52794
**Category:** flash
**Created:** [May 27, 2004, 12:46pm UTC](https://forum.kirupa.com/t/help-needed-asp/52794 "2004-05-27T12:46:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![samotboy](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@samotboy](https://forum.kirupa.com/u/samotboy)
#### Post date: [May 27, 2004, 12:46pm UTC](https://forum.kirupa.com/t/help-needed-asp/52794/1 "2004-05-27T12:46:37Z")

</div>

this is like a password thing i will be realting to my flash form but for now its html forms

userform = Request.QueryString(“user”)  
EnteredPassword = Request.QueryString(“password”)

password = conn.Execute(“SELECT password FROM passwords WHERE username = '”&userform&"’")  
//just finidng the password in my table where the username they entered is

If EnteredPassword=password Then  
//trying to validate the password matched form table with one from form  
ive got my connection and everything but how do i make my sql statement a variable which i can use in my if statement what i ahve setup there doesn’t seem to work please help thaanks in advance
