Page is a not externally linkable
whoisgregg - 2:09 pm on Jun 21, 2012 (gmt 0)
Does the double $$ in your mysqli_query exist in your actual code?
If so, I'm thinking that's a typo and not an intentional use of variable variables [php.net].