|Home||FAQ||Members List||Search||Today's Posts||Mark Forums Read|
|09-12-2009, 22:05||#1 (permalink)|
Join Date: Feb 2008
PHP Post without input
Never really had to do this before and I have no clue how to.
I have a page which displays all of the items in a table and formats each into an area with a button, (it's for a shop for my game) however I don't know how I can post variables without having fields for them, I'm guessing there's a way.
So basically, I have a button, posts to another php form, and need to be able to retrieve a couple of variables from inside the form that were not in an input. Or is there any sort of way of just having invisible inputs or to tell the php the name and value without dealing with inputs at all?
^Something like that basically. I could do it if I posted to the same page and used some if statements but it seems like a clunky way to do it.