复制代码 代码如下:
<script type="text/javascript">
var ability=<?php echo JSON($array);?>;
</script>
复制代码 代码如下:
<?php
$dbcnx = @mysql_connect ( "localhost", "root", "1234" );
if (! $dbcnx) {
echo ("Unable to connect to the " . "database server at this time.");
exit ();
}
if (! @mysql_select_db ( "pms" )) {
echo ("Unable to locate the joke " . "database at this time.");
exit ();
}
mysql_query ( "SET NAMES 'GB2312'" );
$q=mysql_query("select * from ability where ALV = 1");
while($row=mysql_fetch_array($q)){
$array1[] = $row[AName];
}
?>
复制代码 代码如下:
<form method="POST" action="do.php">
<input type="hidden" value="1"/>
<input type="submit" value="Search"/>
</form>
复制代码 代码如下:
<?php
echo $_POST['count'];
?>
复制代码 代码如下:
<script type="text/javascript">
var te = document.getElementById("count");
te.value = 1;
</script>
复制代码 代码如下:
<script type="text/javascript">
function f(){
var id = "2";
var a = document.getElementById("a");
a.href.replace("(n)", id);
}
</script>
复制代码 代码如下:
<a href="ExportArticle.action?articles=(n)"/>
复制代码 代码如下:
<script type="text/javascript">
var i = 1;
var te = document.getElementById("count");
te.value = i;
</script>
复制代码 代码如下:
<form method="POST" action="do.php">
<input type="hidden" value="1"/>
<input type="submit" value="Search"/>
</form>
复制代码 代码如下:
<?php
echo $_POST['count'];
?>
新闻热点
疑难解答