0
마치 내 간단한 PHP echo 문으로 인해 꼬리말 바를 표시 할 수없는 것처럼 보입니다. 내 PHP 코드를 주석으로 고고 내 파일을 보았을 때 꼬리말 바가 표시됩니다. 내 PHP가 실행될 때 내 바닥 글을 표시하지 않습니다. 어떤 도움이라도 좋을 것입니다.Jquery 모바일 바닥 글 표시가 보이지 않음
<!DOCTYPE html>
<html>
<head>
<title>Mobile</title>
<!-- Include Jquery Mobile dependancies -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Page Title</h1>
</div><!-- /header -->
<div data-role="content">
<?php
$Contents = file_get_contents("http://www.fsb.muohio.edu/directory");
$outer= explode('<div id="c1">',$Contents);
$inner = explode('<div id="c2"', $outer[1]);
$placeholder = array('<table border="0">',"</table>",'<tr>','</tr>','<td>','</td>');
$replace = array("","","","<br/>","","");
$finished = str_replace($placeholder, $replace, $inner[0]);
echo $finished;
?>
</div><!-- /content -->
<div data-role="footer">
<h4>Page Footer</h4>
</div><!-- /footer -->
</div><!-- /page -->
</body>
</html>
file_get_contents()에서 가져온 마크 업이 유효하지 않습니다. 감사 – JDV590