$data = file_get_contents("http://cms.nwfpuet.edu.pk/PSIGW/HttpListeningConnector?&Operation=ACADEMIC_ORG.v1&From=SOURCENODE"); //$data = htmlspecialchars($data, ENT_COMPAT, 'UTF-8'); $data = str_replace("\r\n", "", $data); ?>