哪位大哥帮我看下这个实例为什么运行时不能达到预期的效果
conn\0.ini
普通用户 |
$query="select * from tb_administrator ";
$result=mysql_query($query);
while($myrow=mysql_fetch_array($result)){
?>
|
|
|
conn\1.php
管理员 |
if($Submit==true){
$query=mysql_query("insert into tb_administrator (user,pass,qx)values('$users','$passs','$pxs')");
if($query==true){
echo "<script>alert('普通用户创建成功!'); history.back();</script>";
}
}
$query="select * from tb_administrator ";
$result=mysql_query($query);
while($myrow=mysql_fetch_array($result)){
?>
|
|
|
conn\2.ini
超级管理员 |
用户名 |
密码 |
权限 |
|
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn