Retrieve a value from a PHP file and print it on the Unity3D console.

As I have mentioned in my previous question, I have created a quiz game which is of .html format, and I am sending the final score to a .php file, which is done successfully. And I’m calling the .html file by using Application.ExternalCall() in Unity3D, which are all happening correctly.

Now I want to just print the score which is in .php file, on the Unity console. And the question is: How that is to be done? Any suggestions? Thanks in advance.

Use WWW class to call your PHP file and parse its .text (you can also send parameters to PHP adding a WWWForm to the request)