Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

SQL Where Statement Help

$
0
0

Hi all im looking for a bit of help with a SQL statment in trying to use values from 3 drop down lists

1: the teachers name

2: the subject and

3: the scool,

to run a sql query to find out the teachers user name from another table on the register button of the student register page within my website

"SELECT * FROM teacherregister WHERE username=" & subjectvalue & "" & teachervalue & "" & schoolvalue & ";"

This is what i have but it dont seem to work all the values are correctly took from the dropdown lists but wont work in this statment


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>