reference from: Merging Variable PHP
I have problem with $_POST getting blank null after click 'submit' button..
my code:
$temp_var = "_POST['text_".$id."']";
echo $$temp_var;
output: blank
First, did you make sure your form saves to the POST using method="post"
?
Second of all, why'd you use variable variables?
You could simplify this to
echo $_POST["text_$id"];
$temp_var = $_POST["text_".$id];
echo $temp_var;