Forums

How do I get $_POST values from a form in wordpress (5 posts)

  1. mickeysofine1972
    Member
    Posted 1 year ago #

    Hi

    I'm a php developer by trade and I have been meaning to get into wordpress for some time.

    I have a basic page in the /wp-content/themes/default folder and I have put a basic form on it.

    When I click submit it posts back to itself, but when I check the contents of $_POST which in the method for the form I can only see a number 1 in there and not the form values.

    Am I just not getting this? or is it being destroyed like some other php frame works do?

    Thanks in advance!

    Mike

  2. pravin
    Member
    Posted 3 months ago #

    I'm trying to do the same. Can anybody suggest an alternative?

  3. pravin
    Member
    Posted 3 months ago #

    I'm trying to do the same. Can anybody suggest an alternative?

  4. eazi.it
    Member
    Posted 3 months ago #

    I entered a similar question yesterday.

    I am passing &variable=bob from the address bar but the variable value is not avaialable to my page?

  5. eazi.it
    Member
    Posted 3 months ago #

    I think I may have founf the answer to this in:-

    http://codex.wordpress.org/User:DavidHouse/Wordpress_Code_Flow

    I'm going to try it out later and will post an update :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.