+ 2

I have textbox with name "name" I want when user enter his name and click send button he send to anther page .

And I can see the text that he write and save it please write the code.

18th Mar 2017, 1:21 PM
Kirollos Ayman
5 Réponses
+ 3
<form method='get' action='send.php'> <input type='text ' name='name'> <input type='submit' value='submit'> </form> and in send.php: <?php $name = $_GET['name']; //show result echo $name; //save in database with INSERT ?>
18th Mar 2017, 1:48 PM
Amir Mojiri
Amir Mojiri - avatar
+ 2
how can the iser go to anther page and how can I make database to save data and show result
18th Mar 2017, 3:03 PM
Kirollos Ayman
+ 2
where can I write the link of the page that the user will go to it after write his name
18th Mar 2017, 4:36 PM
Kirollos Ayman
+ 2
I try but I can't do that so I ask for help if you know anything please help me
18th Mar 2017, 6:17 PM
Kirollos Ayman
+ 1
I would recommend you to learn PHP and sql instead of asking others for code. It's Ok if you are a beginner but at least tryout thing Google them and then if you get problem then ask.
18th Mar 2017, 4:59 PM
Ramjivan Jangid
Ramjivan Jangid - avatar