哪位大哥帮小弟我看上这个实例为什么运行时不能达到预期的效果

WBOY
Release: 2016-06-13 11:15:20
Original
842 people have browsed it

哪位大哥帮我看下这个实例为什么运行时不能达到预期的效果
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

    超级管理员
  

  用户名
  密码
  权限
   



    
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template