代码拉取完成,页面将自动刷新
同步操作将从 gujiejing/WEBWMS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?php
$abc = 'aaaa'.
'bbbb'.
'ccccc';
echo $abc;
/* $a= time();
$a = $a."abcefdsfadfadsfadfadf";
echo $a;
echo '<br/>';
$arr = array('a'=>1,'b'=>2,'c'=>3,'d'=>4);
echo json_encode($arr);
echo '<br/>';
$arr2 = array('aa','bb','cc','dd','ee','ff');
echo json_encode($arr2);
echo '<br/>';
$obj->body = "我窝窝窝窝我";
$obj->body2 = "你你及你妮妮妮";
$obj->id =21;
$obj->approved = true;
$obj->favorite_count = 1;
$obj->status = null;
*/
//echo json_encode($obj);
require_once('connDB.php');
echo 123;
$sql = "SELECT `custid`,`custcn` FROM `cust` ORDER BY `id` DESC";
$result = mysql_query($sql,$dbc);
$arr1=Array();
while($row_Rec = mysql_fetch_assoc($result)){
$arr2=array("id"=>$row_Rec['custid'],
"text"=>$row_Rec['custcn']);
array_push($arr1,$arr2);
}
echo json_encode($arr1);
?>
<html>
<head>
<title>TEST!</title>
</head>
<script type="text/javascript">
/*document.write("abc1");
//debug("aaaaa");
document.write("<br/>");
var cars = new Array();
cars[0]="toyota";
cars[1]="honda";
cars[2]="nissan";
cars[3]="mazda";
document.write(cars);
document.write("<br/>");
var cars2 = [["1","aaa"],["2","aaa1"],["3","aaa2"]];
document.write(cars2);
document.write("<br/>");
document.write(cars2[1][1]);
var aaa = <?php echo json_encode($obj);?>
document.write(aaa.body);
document.write("<br/>");
document.write(aaa.id);
document.write("<br/>");
document.write(aaa.body2);*/
</script>
<body>
<br/>
Test1
</body>
<script type="text/javascript">
</script>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。