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 dont see anything wrong, but you might try renaming the variable.. Action is one of those words that seems like it would be too easy for either the browser or the server to intercept as being default HTTP protocol/HTML language (such as in the form tag.. >form action="bleh" method="get"<, or the http ACTION) so, that's all I know to tell you.