0

Getting info from user?

I have code that need to get some info from user. I use forms but i do not know how to link form to my file in solo learn. please help me either link it or say another method.

8th Aug 2019, 4:24 AM
emad
emad - avatar
5 odpowiedzi
+ 7
Can you please post your code so I can have a look on it? Forms can have "action" which specify the target file to request from server, when is form filled
8th Aug 2019, 6:11 AM
Krysto Foxik 🐥
Krysto Foxik 🐥 - avatar
+ 8
Ipang thank you! emad well, im not sure if Sololearn supports post, get, redirects or session. If its working in your local testing environment then it's correct and you should not worry about it =) also, action="file.php" is enough =)
9th Aug 2019, 7:41 AM
Krysto Foxik 🐥
Krysto Foxik 🐥 - avatar
+ 3
emad Are you using SoloLearn mobile app or SoloLearn website? if you're on SoloLearn mobile app you can view the following Activity Feeds post, a how-to for sharing links around SoloLearn platform. It won't load on web browser though, only visible through SoloLearn mobile app. https://www.sololearn.com/post/74857/?ref=app Krysto Foxik 🐥 I guess this is the code in question, I'll take a closer look at it in the meantime. https://code.sololearn.com/wb4vJ9he29Mz/?ref=app
9th Aug 2019, 7:28 AM
Ipang
+ 1
Thank you very much
9th Aug 2019, 12:50 PM
emad
emad - avatar
0
1. Should I put form and code in 2 separate file or same?? 2. In "action" just writing the name of the file is enough?? ( My code works well in local but not in solo learn ) for code reference "Do st with min to max.php" in my codes.
9th Aug 2019, 6:10 AM
emad
emad - avatar