+ 2

Php

How can i merge my php with html forms to output? I am getting errors when i run this code. Someone help. Must i write my php scripts within the html code?

21st Oct 2017, 4:16 PM
WadeQ
WadeQ - avatar
4 Réponses
+ 2
Thanks
22nd Oct 2017, 1:17 PM
WadeQ
WadeQ - avatar
+ 1
You have to use a web server with php support..Choose some (free) webhosting with php and upload your scripts there. Or you can install some web server with php, like Apache., into your computer to try it. And it is usually to combine php scripts and a html code . This way you get a nice, rich design page.
21st Oct 2017, 5:08 PM
Petr Hatina
Petr Hatina - avatar
+ 1
Thanks, but how about here at sololearn? Am trying to run php code that tries to retrieve name and date of birth from an html form and i get errors.
21st Oct 2017, 6:09 PM
WadeQ
WadeQ - avatar
0
Solo learn doesn't provide database. you can use ajax send your form data to ur web hosting page. and insert to database
22nd Oct 2017, 8:46 AM
林偉雄
林偉雄 - avatar