PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I seem to be having some issues when referring to post data array within a class. I am using the class below to echo out inputs within a HTML form. I am trying to create a sticky input however the class dose not see the POST data after a submit. I take it I don't need to declare it as global within the class as it is a super global array?
feyd wrote:Your class doesn't really seem to set any of the properties other than "value" and "maxsize." Where's "name," "label," "size" and "nobr" set?
Sorry Feyd, This well could be a complete hash. Have only being playing about with classes for the last couple of hours. I think I'm setting them when I call them. See below