Based on your note in the comments, your web host is likely running some sort of security extension to help prevent against attacks, such as XSS attacks. These server security extensions look for likes like <script>
tags in submitted data, and will block them. This is good, because if your code is doing what I think it’s doing, you’re allowing anyone in the world to take over your web hosting account.
You may be able to turn that security off through configuration, or by nicely asking your host to turn it off for you. Since you’re on Go Daddy, you’re probably a bit more restricted. A VPS gives you more control.
2
solved In html , how to fix script code [closed]