Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] $_POST is getting only the last field

(03-11-2015, 07:46 PM)ciadmin Wrote: Did you notice that your 'message' field is the only one with a 'name' attribute?
PHP uses that for POST parameters, and not the 'id' attribute.
Add the 'name' attribute to your other fields and they should be accessible to your code.

Thank you! Just after post the message I saw it. CTRL + C / CTRL + V, always replicating our own mistakes Dodgy This post can be closed.

Messages In This Thread
RE: $_POST is getting only the last field - by fcordeiro - 03-11-2015, 08:06 PM

Theme © iAndrew 2016 - Forum software by © MyBB