some people type commands in MySQL like this:
"select * from RegisterUser
where pid = '".$uploadPid."'"
and some type it like this
"SELECT * FROM RegisterUser
WHERE pid = '".$uploadPid."'"
what's the best? should i scream or not
some people type commands in MySQL like this:
"select * from RegisterUser
where pid = '".$uploadPid."'"
and some type it like this
"SELECT * FROM RegisterUser
WHERE pid = '".$uploadPid."'"
what's the best? should i scream or not
SQL isn't case sensitive, no need to scream. It's good practice to capitalize the commands anyways, just for readability. Table names can be case sensitive.