SilverVenom
11-12-2006, 05:59 PM
Hey, I am using FlashSQL v3 for my flash movie to communicate with my MySQL database. And my SQL query is:
"SELECT * FROM passes WHERE upper(uname)"+query
Where query is :
" LIKE'"+input.txt+"%'"
This returns everything in my "passes" table, which include uname, id, hash1, hash2 and pass. I am looking to make an interface where the user can choose which options they want loaded into the datagrid. Eg: Only uname and id, or uname, hash1, hash2. Ect.
So my question boils down to: Is there an SQL command which can restrict which Fields are returned? Thanks in advance! - Peter.
"SELECT * FROM passes WHERE upper(uname)"+query
Where query is :
" LIKE'"+input.txt+"%'"
This returns everything in my "passes" table, which include uname, id, hash1, hash2 and pass. I am looking to make an interface where the user can choose which options they want loaded into the datagrid. Eg: Only uname and id, or uname, hash1, hash2. Ect.
So my question boils down to: Is there an SQL command which can restrict which Fields are returned? Thanks in advance! - Peter.