+ 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?
5 ответов
+ 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.
+ 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
+ 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. 🤷♂️
+ 1
Hahaha,no problema
0
Janning⭐ I didn't try it on the playground,like I said,I created local files on my computer