views:

28

answers:

1
<?php 
$var = "tax_" . $taxkey;
if(isset($_POST[$var])) echo $var . "SET";
?>

I need to check wheter a "dynamic" POST value is set or not, is this possible in PHP?

EDIT: sorry guys, this has been solved!

A: 

Jes, you did it, didn't you? isset($_POST[$var]) is correct.

nikic
Yes, I found my error just after posting here :(
Jorre