Question about $_POST
Posted: Sat Mar 01, 2008 5:56 pm
I'm having difficulty with this one statement in my code... Hopefully someone can tell me where I went wrong.
This works:
But this doesnt:
Is there something that makes it so that you cannot input a variable into $_POST?
This works:
Code: Select all
$input = $_POST["value_1"]; //returns correctlyCode: Select all
$myval = "value_1";
$input = $_POST[$myval]; //returns NULL