Sorry, the above post isn’t particularly clear. You say you sorted it, but tried it and it didn’t work? Was it my code that didn’t work? If so, then that is unusual and might be worth taking time to fix, especially since it works fine on my own server. If you found your own fix, what did you need to change?
The link you posted doesn’t show me anything that would help me resolve your issue. If you want me to take a look, feel free to zip up your code and link to it. I have some free time today and am happy to help.