How can I see the ouput? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

How can I see the ouput?

I just want to see the output, any idea. https://code.sololearn.com/wSHK6o6D3gyC/?ref=app

13th Jul 2023, 4:46 PM
Sakshi
Sakshi - avatar
8 Answers
+ 5
The code works fine and the input number will be outputted. https://code.sololearn.com/WrOW9MEqE4I5/?ref=app
13th Jul 2023, 6:49 PM
JaScript
JaScript - avatar
+ 5
Sakshi the Sololearns php environment has been unusable for about a year. Before that, it was reasonably useful. For Android a did not find anything. There is for Apple mobile devices an app called DraftCode. For PC for free and very good XAMPP. Another possibility to test you will find maybe here: https://www.w3schools.com/php/php_forms.asp
14th Jul 2023, 2:35 PM
JaScript
JaScript - avatar
+ 5
This is the link to that what I mean under DraftCode (it‘s really good): https://solesignal.com/draftcode/
14th Jul 2023, 7:33 PM
JaScript
JaScript - avatar
+ 3
JaScript Ok, thank you bro 👍
14th Jul 2023, 4:21 PM
Sakshi
Sakshi - avatar
+ 1
JaScript this link is not working bro, I see only black screen
13th Jul 2023, 6:34 PM
Sakshi
Sakshi - avatar
+ 1
Sololearn web uses the WebView technology which has no support for form submission. In webview, forms are directed to an "about:blank" page and this is one of the reasons you can't see the output
13th Jul 2023, 9:38 PM
White Shadow
White Shadow - avatar
0
JaScript this code should work but not working on Sololearn
14th Jul 2023, 5:04 AM
Sakshi
Sakshi - avatar
0
Ok, thank you all. Now, I get it why the code is not work? because php is server side scripting language that's why my code is not working.
14th Jul 2023, 5:19 AM
Sakshi
Sakshi - avatar