So when parsing your code $ user = $ _ SESSION[ ' user' ] $ sesssion_ id. Hi this is my first post on here so any response would be greatly appreciated. I' m working on a. Parse error: syntax error, unexpected T_ VARIABLE in / home2/ happyusa/ dev/ member/ rec_ id_ check. php on line 8 < script>. The problem is that you did not look up the manual page for the feature that you' re trying to use. Something simple, indeed. I think you' re looking for $ { game. $ t} ( not $ game$ t ) in order to create a " family of variables" whose. There might be a semicolon or bracket missing a line before your pasted line. It seems fine to me, every string is allowed as array index. Parse error: syntax error, unexpected ' $ query' ( T_ VARIABLE) in / home/ * * * * / public_ html/ get_ data_ id. php on line 4 [ duplicate] · php mysql json.
This question already has an answer here: PHP parse/ syntax errors; and how to solve them? Code without any syntax error will be