7/27/2021 4:25:26 PM
Julianna $_POST form validation it won't work
I tried again to do that but it won't work in Sololearn
you can't do it on sololearn, if you're on pc install xampp or wampp on Android you use KSWEB app for it and by using the POST method you're able store user data on MySQL database :)" hope it helps.
Thank for answers☺
Read the first answer( marked with green tick ✅) in this link below...
$_POST will works when you submit the form and send data to another PHP file which is action file and in that action file you get data using $_POST.
So here on Sololearn $_POST will not work.
Yes not possible here because Sololearn support only single page. So you can't get submitted data using $_POST.
You can only write simple PHP programs but can't work with form.
Adding to what others had explained, your submit button should have its 'type' attribute value 'submit'.
You had typo writing it 'sumbit' so the button doesn't show up. You'll need it to test your code where form submission is supported.
Post index 'name' is not defined
Write this code
I want to make a form validation with $_POST variable.R｡◕‿◕｡🌷🇮🇳
I can't use $_POST method in Sololearn ? A͢J
Julianna No $_POST won't work here you can try in to your PC u need to install server u can use Xampp or anyone..
It won't work in solo learn
Just like juliana said post will works when you sub MIT the format and data to another PhD file which is action file and in that action file you get data using $_PPOST
Send us a message