im making a website that is using the Steam API. At my website you can enter a specific users steam name, then you will see the data about the player. Now the problem is that if a a user has a name like this:
<script> alert("test!"); </script>
If this occurs, my website will execute this code. How can i escape code from the API's output? Is there a PHP function to do this? How can I fix this problem?