I am trying to capture the input on a form I created on my WordPress page. Is it possible to store the following data by creating a function that would save them into its database? I already created the table on my database.
<form id="addInstructor" action="?addInstructor" method="post">
ID Number: <input type="text" name="idnum" />
First name: <input type="text" name="fname" />
Last name: <input type="text" name="lname" />
<input type="submit" value="Submit" />
</form>
I installed Exec-PHP plugin to hopefully execute the function.
But its not working :(
Can someone help me?