per http://www.reddit.com/r/PHPhelp/comments/1mgw65/variable_isnt_being_passed_i_think/