I've a javascript code that is currently working on a shared hosting.
The script gather data from a website and then show it on my website.
Fact is that the data is being showed in the console tab but not on the php page. The script itself contains that code:
<script> ... function printFollowers(followersSum) { console.log(followersSum); // you can do print followersSum wherever you want }
... </script>
But I don't understand how to print the "followersSum" function to display it on the HTML.
Does someone can help me?