+ 1

HTML, JavaScript and PHP integration?

I completed the three courses,I was able to create HTML and JavaScript programs,even out of the playground... But I still don't get the backend part,I created a PHP file and pointed to it with the action attribute on the form,but when I click submit,it only opens the code on a new tab,so how can I have a form to, as an example,create a new user so it can enter a username and password later? I'm I asking too much?

16th Jan 2019, 12:46 AM
Alandec
5 Respostas
+ 2
I don't think you can connect multiple files (separate projects) in the Code Playground. If you're trying outside the Code Playground, it might help to post the code.
16th Jan 2019, 3:15 AM
Janning⭐
Janning⭐ - avatar
+ 1
You can create php server with installed mysql on paiza.cloud Check out how to make a to do app here https://proxy-engineering-paiza-io.paiza.cloud/entry/paizacloud_php#main
16th Jan 2019, 4:28 AM
Calviղ
Calviղ - avatar
+ 1
sorry, thanks for clarifying Alandec I wasn't sure if "even out of the playground" should have been parsed as "even when using the playground" or as "even not using the playground". Now I know. 🤷‍♂️
16th Jan 2019, 3:26 PM
Janning⭐
Janning⭐ - avatar
+ 1
Hahaha,no problema
16th Jan 2019, 3:27 PM
Alandec
0
Janning⭐ I didn't try it on the playground,like I said,I created local files on my computer
16th Jan 2019, 10:46 AM
Alandec