I want to see if there are any POST vars set. Is there anyway i can do this?
+1 for simpler notation
Tatu Ulmanen
2010-01-01 20:35:26
A:
Simple, $_POST is an array containing all POST vars, just count how any items are in the array and you know if there are any set.
echo count($_POST);
Jimmy Shelter
2010-01-01 20:35:24