WordPress.org

Ready to get started?Download WordPress

Forums

Send to page with parameters (GET/POST) (2 posts)

  1. ddl449
    Member
    Posted 1 year ago #

    The idea is simple, if we had a .php file we could pass some values by:
    myfile.php?id=1 and we would have a $_GET['id'] to do the rest.

    I want to create a template page to be like that.
    e.g: mydomain.com/mypage/?id=1 and after that to do some stuff in my database manually etc etc...

    Of course the above is incorect but you got what I mean.
    Do you have any ideas who this might work? I would prefer to use POST

  2. michael.mariart
    Member
    Posted 1 year ago #

    It can work like that for $_GET values. You can also sent POST values to pages as well, but that needs to be done by submitting a form (can't do it through just a link) in the standard way.

Topic Closed

This topic has been closed to new replies.

About this Topic