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 really should know this but is there a way of setting up a variable in PHP so that it can be read by any function.. without having to keep sending that variable to a function everytime it's called.
I know I could use classes but it's not worth the overhead for what I'm doing.
Basically if I set $MyName I would like to be able to access and change this variable from any where in the PHP code.. including functions().