This is what you have in your code. See if you can spot the different between this code and the code that @m_hutley posted, and that I posted just above:
Good to hear you’ll get it sorted. Not everyone has time to dig further into this stuff. But you can just copy/paste the text from any of the posts here directly into your editor, so I’m not sure where you’ve got the extra quotes and the weird backward single quote from.
Note that I am getting this code by opening your site, clicking “view source”, and there it is. In itself, that means that the PHP code is not being executed, so even when you have the syntax correct, it’s not going to do anything. What is the name of the file that contains the HTML and PHP code? As I asked in post #17, it does have a .php extension, doesn’t it? If it doesn’t, the server won’t know to execute the PHP code in it.