I'm kinda new to the web development, so I don't know if I'm posting in the right place. But I’ve started putting together a website. But when I try to run this Query(see the Picture) I get the following message.
Parse error: syntax error, unexpected "$q" (T_VARIABLE) in my location
Do you have any idea what the problem could be? I am trying to publish the Header of my table in MySQL to the content of my page. (I have no problem connecting or wring to my database. But I seem to have a problem at line 6.
Thanks a lot!