error_reporting(E_ALL);放在最开头看看

解决方案 »

  1.   

    通常你们都是怎么调试php程序的?我这里怎么弄都没有报错的信息.
      

  2.   

    用我的封装类吧:http://zsss.blog.sohu.com/7966496.html
    http://zsss.blog.sohu.com/8254219.html
    http://zsss.blog.sohu.com/9377074.html
      

  3.   

    "insert into ".$sqltable.".....";andif(true === mysql_query($sql))
    {
    echo ("<script type='text/javascript'> alert('添加成功');location.href='index.php';</script>");
    }