+ 1

Saving on php

I need a code that will save info from forms and send it to another html file after click on button "save"

21st Oct 2019, 4:09 PM
Дмитрий Павлов
Дмитрий Павлов - avatar
7 Answers
0
<form method="post" action="another.php">
21st Oct 2019, 4:32 PM
T1mun
T1mun - avatar
0
and call it with $_POST['name']
21st Oct 2019, 4:33 PM
T1mun
T1mun - avatar
0
thanks, can I change .php to .html?
21st Oct 2019, 4:34 PM
Дмитрий Павлов
Дмитрий Павлов - avatar
0
nope
21st Oct 2019, 4:34 PM
T1mun
T1mun - avatar
0
Do I have a way to transform it into html code?
21st Oct 2019, 4:43 PM
Дмитрий Павлов
Дмитрий Павлов - avatar
0
yap just write <?php echo ' <html code>';
21st Oct 2019, 4:46 PM
T1mun
T1mun - avatar
0
Thanks a lot!
21st Oct 2019, 4:47 PM
Дмитрий Павлов
Дмитрий Павлов - avatar