MySQL Forums
Forum List  »  PHP

Embarrassing Newbie Question
Posted by: Bernhard Rieder
Date: June 29, 2018 05:41PM

Hi there!

I am just getting started. And I don't know how a specific VALUE that is entered into a FORM-FIELD can be sent to a .php script?

Here is a simply FORM, you can select your age:
https://www.w3schools.com/code/tryit.asp?filename=FSSV2EL3J7E8

All I want to do, is to send the selected Age from the FORM field to the .php script.

Once the .php script receives the value selected from the FORM, it should simply print it, like...

you are [selected age from the form field] old.

I am so sorry for this "dumb" question.
But I really could not find anything online that explains how the values from the FORM field are going to be sent to my script?

And how I can define the variables?


A simply example would help me so much - it would mean a lot to me.

Thank you so much for any little help,
appreciate it!

Options: ReplyQuote


Subject
Written By
Posted
Embarrassing Newbie Question
June 29, 2018 05:41PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.