how to get data from form post method in wordpress?
-
I have make one enquiry page in wordpress, when i will post that form then it will shows 404 error, can anyone help me please.
-
Answer:
Set the action attribution to point to the correct URI.
smart at Stack Overflow Visit the source
Other answers
is going to sound very strange but if you put the names of the field with some kind strange words like "abc" or "xyz" at the start of any field, is going to work, something like <input type="text" name="xyzName" id="xyzName" /> should do the trick , make sure to do this with EVERY field, even the submit input, why it works? because wordpress has some hidden fields with the same name so you crash with them, so the solution? used names that you know that is not going to cross with the one of the wordpress pd: remember use the same name in post to get the data $_POST['xyzName'] other tip, you can use "exec-php" plugin to be able to run some "php" code inside the "pages" of wordpress
Joyal
Related Q & A:
- How to get data from datalist?Best solution by Stack Overflow
- How to change category of a post automatically in WordPress?Best solution by Stack Overflow
- How do get data from webbrowser?Best solution by Stack Overflow
- How to get data from google directions API?Best solution by Stack Overflow
- How to Get Main output into Common() method in Java?Best solution by pages.cs.wisc.edu
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.