php - How can I submit a form through a function?
Get the solution ↓↓↓First, I am using someone else's code (and I modified it to my use). Second, I am new to VS Code. My normal editor is notepad++.
The confusing part is the way the syntax is highlighted. Makes me think there's an issue. I'm showing these images (instead of typing the code) so you can see the syntax highlighting I have.
noticename
andpassword
are blue? This makes me think they're being used as keywords. In notepadd++ they wouldn't appear this way. Also, this form isn't submitting the data. Here is how I am passing the information:
$user_id = $app->Register($yourName,$email,$username,$password);
$school_id = $app->RegisterSchool($user_id, $schoolName, $dbaName, $yourName, $rank, $email, $username, $password);
And yes, the form is passing the variables correctly. I echoed each variable to test.
Any help on what's going wrong is greatly appreciated. Thank you.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: http failure during parsing for
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.