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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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