I have a php file which will increase a counter in a database. I want it so that I can increase the counter from inside the C# script in Unity3d. Is there a way of updating the database by calling the php script from C#?
I've checked the Unity documentation for UnityWebRequest and nothing is to do with simply 'opening' a url (without opening in the browser) or updating a database. I tried using UnityWebRequest and also the now obselete WWW but haven't got either of them to work.
I can't actually upload any code at the moment because the server I'm using is down, but I'll do it as soon as it's back online. (This isn't the reason nothing seems to be working.)