Is there a way to accomplish something like the "WHERE" syntax from SQL
in php? For example an equivalent to the following, which I know is
not proper php syntax.
foreach ($var as $key => $value WHERE $key != '3') {
echo "$key is $value";
}
or
implode (",", $_POST WHERE $_POST[name] != 'post');