How to get text from webpage

I’ve been trying to get text from my php page but whenever I use my code it gives me the error:

UnityException: WWW is not ready downloading yet UnityEngine.WWW.get_text () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/UtilsBindings.gen.cs:181) GetTextFile+c__Iterator0.MoveNext () (at Assets/GetTextFile.cs:23) UnityEngine.MonoBehaviour:StartCoroutine(String) GetTextFile:Start() (at Assets/GetTextFile.cs:13)

Here’s my code:

using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.Events;
using System;

public class GetTextFile : MonoBehaviour {

	private string WebsiteWithTextUrl = "https://credmanager-rowanharley.c9.io/FileWithText.php";
	public Text webUrlText;
	// Use this for initialization
	void Start () {
		StartCoroutine ("GetText");
	}
	IEnumerator GetText(){
		WWW GetTextWWW = new WWW (WebsiteWithTextUrl);
		
		GetTextWWW.text;
		yield return GetTextWWW;

		if (GetTextWWW.text != null) {
			Debug.LogError ("Here's the text: " + GetTextWWW.text);
			webUrlText.text = "Here's the text: " + GetTextWWW.text;
			Exit();
		} else if(GetTextWWW.error != null){
			Debug.LogError("Couldn't connect to server. Error: " + GetTextWWW.error);
		}
	}
}

Php Code:

<?php

    $servername = getenv('IP');
    $username = getenv('C9_USER');
    $passwordp = "";
    $database = "sample_database";
    $dbport = 3306;

    // Create connection
    mysql_connect($servername, $username, $passwordp, $dbport)or die("Cant Connect to server");
    mysql_select_db($database) or die("Cant connect to database");
    // Check connection
    echo"Hello World!";
?>

Could Someone Please tell me what I’m doing wrong asap!
If you need me to explain something more, please mention below.

Status: Fixed
Forgot to change database from private to public