Hello all,
I'm working on learning asp and sql. I've got a basic security login script and I'm just wondering exactly what the "'" means here on both lines 1 and 2 below. I assume if you use empty quotes like "" then there is no value. Is that right? I don't understand a single quote inside double quotes and I can't seem to find it in tutorials. Is it a shortcut way of writing out something?
1) sqlStr="select * from users where user='"
2) sqlStr=sqlStr & myname & "'"
thanks for putting up with the newbie in me!
-Terror
I'm working on learning asp and sql. I've got a basic security login script and I'm just wondering exactly what the "'" means here on both lines 1 and 2 below. I assume if you use empty quotes like "" then there is no value. Is that right? I don't understand a single quote inside double quotes and I can't seem to find it in tutorials. Is it a shortcut way of writing out something?
1) sqlStr="select * from users where user='"
2) sqlStr=sqlStr & myname & "'"
thanks for putting up with the newbie in me!
-Terror