Steam api player ingame function PHP

To check if a a steam profile is ingame and if so which game use the following function as a guide:   function ingame($steamid) { $data = json_decode(file_get_contents(“https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=YOURAPIKEY&steamids=” . $steamid…

JavaScript animated number count up

To do the jquery javascript animated number count up feature on your website you need jquery on your page: <script src=”https://write.corbpie.com/wp-content/litespeed/localres/aHR0cHM6Ly9jb2RlLmpxdWVyeS5jb20vjquery-3.2.1.min.js”></script> Include the following javascript in a .js file: $(‘.counter’).each(function…

Maths operators in PHP

Just like most languages you can use PHP to do Arithmetic equations like so: echo (10 / 2);//5 echo (10 + 2);//12 echo (10 * 2);//20 echo (10 – 2);//8…