Sending info from form to CPanel MySQL database using PHP | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Sending info from form to CPanel MySQL database using PHP

Hey guys! I got this code from someone on YouTube as I don’t know PHP at all but it gives my a HTTP 500 Error when I test it. Is there something wrong? Please help! https://code.sololearn.com/wQJesHG47x0x/?ref=app

18th Oct 2018, 1:29 PM
Byron Cross
1 Answer
0
you can using function isset() with statement if (isset($_POST['name'])){ $name = $_POST['name']; }
21st Oct 2018, 4:30 AM
Royal Falcon
Royal Falcon - avatar