+ 1
why this html form not reacting to php?
i have created a form , submit it using get method in same page (action blank). in php i code to check it submit is clicked then echo the name and address of form. but not working. help in fixing it . https://code.sololearn.com/WdCxuh6Sg26j/?ref=app
11 Answers
+ 1
There are lots of alternatives. Python, Ruby, Java, C#, C etc. All will do the same thing. I think the easier are Python and PHP. If you started already on PHP then you can keep going. It's easy. But the structure of a project might be big. With practice the big things will seem little.
+ 1
PHP won't work in web codes. You have to make PHP codes, not web codes for PHP to work
+ 1
https://code.sololearn.com/wKJ4HFde4eWl/?ref=app
this is php response sheet for form
+ 1
it is showing no output in php page..
it should echo the input value of name and address input box filled in web
+ 1
Because you are trying on sololearn, you are sending form data on sololearn PHP file , try on you device localserver not on sololearn it will work
+ 1
localhost is use to run php if i have wamp/xampp server .
but i have no problem with executing php page it is running .
(sevral php file are present and working on sololearn even i have one other php file working well ). and my formphpdm response file is well attached to web page .
it means problem is in getting superglobal variable value .
isn't it.
+ 1
Just download XAMPP and use VSCode as the code editor. Make an index.php file as your controller. Make directories for db insertion, db extraction, views, models, JS and CSS. Oops that sounds huge fore a beginner. Well just index.php, view.php for your html using prints and model.php for saving on db or processing data. Just those three files for beginning. Nah... Better follow a PHP online course, a PHP guide book or a PHP tutorial that uses XAMPP. Remember that not everything is on the language and not everything is math. Use your imagination and implement the concepts on the languages as tools to make your project. I've seen (not taken) Udemy courses that takes you from the beginning to make an online store. If you have the time and $. Clear the cache and cookies of your browser and the course will be cheap as $10 if you don't have an account. Or a good guide is PHP Murach's. Excellent book. And 4 daily hours before going to sleep. Then, if you finish, you can try .net core with C# to improve résumé.
0
but for localhost it is necessary to have wamp/xampp server on device ,isn't it ?
0
please guys help me i learn here using android phone .
how can i deal with php.
also let me know what feartures of php i can't use here in sololearn in android.
0
ok đđđ
0
is python is better alternative for
php+mysql.
mean can i create and controll database using python.
I'm new in backend feild