Finished getDataFromYQL.php
All errors  gone and runs smoothly.