The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> undefined $age in process.php (txt)
tudsy
post Apr 20 2022, 01:19 PM
Post #1


Advanced Member
****

Group: Members
Posts: 246
Joined: 30-September 14
Member No.: 21,611



Hi

I get an error message saying that the variable $age is undefined in process.txt (php).

$age = $_POST["Age"]; (line 66 in process.php (txt)).


I don't know what is going on.

form.php(txt) calls process.php (txt) when the for is submitted.


Any help will be appreciated.

Thanks.Attached File  process.txt ( 4.82k ) Number of downloads: 255
Attached File  form.txt ( 7.03k ) Number of downloads: 250
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
tudsy
post Apr 20 2022, 05:58 PM
Post #2


Advanced Member
****

Group: Members
Posts: 246
Joined: 30-September 14
Member No.: 21,611



Hi

I changed the $_POST in process.php to $_REQUEST and it liked it.

Thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 5th June 2024 - 07:35 PM