$query = "SELECT COUNT(*) FROM Table1 WHERE number > '$variable'";
My question is, say there are multiple variables in the Table1 and when counting from them they would all receive the same count. How would I go about this and make it check a second variable in case this happened.
Slowly trying to work this out, happy to get this much done with it.
I'l rephrase..how do you select count by TWO things instead of just one where I have "number > $variable".
My question is, say there are multiple variables in the Table1 and when counting from them they would all receive the same count. How would I go about this and make it check a second variable in case this happened.
Slowly trying to work this out, happy to get this much done with it.
I'l rephrase..how do you select count by TWO things instead of just one where I have "number > $variable".