+ 3
Is it possible to upload to the platform of Sololearn a php code that handles forms,so that it receives data from users?
I have made a php code that allows the user to enter data through a form. Within the Form tag, the action parameter is derived to the same program, but when I run the program, a new session does not start. Is it possible to do it in Sololearn? I've tried it on my computer and it works. I appreciate what you can guide me
11 odpowiedzi
+ 5
complex PHP code are not supported on sololearn codeplay ground I have also tried many times but failed ,because of security issues I think but there is another way , try reading this thread
https://www.sololearn.com/Discuss/1136963/?ref=app
+ 3
Just try it yourself and see if you succeed..
+ 2
I have actually tried it, but when sending the form the next session does not start
+ 2
Then try this stuff out of sololearn and see if it works then. If so, then you got your answer.
If not, come back here and ask why your code doesn't work and insert the code in your post.
+ 2
Thanks Shudarshan Rain. I will continue investigating but in the meantime, I will upload a simpler code that does not work with forms. That the data is entered manually
+ 2
1. Always remove comments/commented-out code. Your codenames should be selfexplaining.
2. Always write code in just one language, English is prefered.
I am not an expert in PHP, but just by looking at your code I could already see those feedbackpoints. Good luck!
+ 2
thank's for your feedback Boem Shakalaka
+ 1
good luck Cecilia 👍
+ 1
https://code.sololearn.com/wghH6LXqhC9P/?ref=app
+ 1
horoscopo works with forms. But not in Sololearn.
horoscopob doesn't work with forms and the user must write the date in the code.
I hope your opinions