Stupid forum submitted my post before I wanted.
What I posted before was simply making sure it was posted as an integar.
For checking which was submitted you could do maybe something like this:
Code:
$var = intval($_POST['formName']);
$var2 = intval($_POST['dropdownName']);
if($var > 0 && $var2 > 0) {
Both have stuff in them. You decide which to use
}
if($var > 0) {
Value was found and is greater than 0 in the form. Do php stuff
};
if($var2 > 0) {
Value was found and is greater than 0 in the dropdown. Do php stuff
};
Again, I'm a noob at php and may be insecure or used too much logic/faulty logic.