php - How to read value from HTML text input?
Get the solution ↓↓↓Solution:
I saw your code and tested it on my local server. It seems that your name attribute in your input tag has a capital letter N (firstName). $_POST & $_GET are case sensitive.
and also, try to use this function on every php you are coding so that you can monitor what you are receiving.
function pr($var) {
echo '<pre>';
print_r($var);
echo '</pre>';
}
For example:
pr($_POST);
pr($_GET);
pr($_REQUEST);
Good Luck!
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: using $this when not in object context laravel
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.