Home >Backend Development >PHP Tutorial > 新手提问:如何改变get的内容,页面没有改变
新手提问:怎么改变get的内容,页面没有改变啊
<br /> <?php<br /> require 'Inc/function.php';<br /> header("Expires:-1");<br /> header("Cache-Control:no-cache");<br /> header("Pragma:no-cache");<br /> <br /> $user=$_POST["user"];<br /> if (isset($user)){<br /> echo("0||");<br /> }<br /> else{ <br /> $con = mysql_connect(DBHOST,DBUSER,DBPW);<br /> if (!$con)<br /> {<br /> die('数据库连接出错: ' . mysql_error());<br /> }<br /> <br /> mysql_select_db(DBNAME, $con);<br /> <br /> $result = mysql_query("SELECT uid,password,salt FROM `pre_ucenter_members` where username='".checkstr(user)."'");<br /> mysql_close($con);<br /> <br /> $row=mysql_fetch_row($result);<br /> echo("$row[0]|$row[1]|$row[2]");<br /> }<br /> ?><br />