唉,原来改用php 5.0.4就对了

解决方案 »

  1.   

    <?php
    if ($db = sqlite_open('mysqlitedb', 0666, $sqliteerror)) { 
       sqlite_query($db, 'CREATE TABLE foo (bar varchar(10))');
       sqlite_query($db, "INSERT INTO foo VALUES ('fnord')");
       $result = sqlite_query($db, 'select bar from foo');
       var_dump(sqlite_fetch_array($result)); 
    } else {
       die($sqliteerror);
    }
    ?>试试上面的代码,提示贴出来看看。In PHP 5, the SQLite extension and the engine itself are bundled and compiled by default.
      

  2.   

    你装个phpSQLiteAdmin就知道怎么回事了。
      

  3.   

    http://blog.csdn.net/heiyeshuwu/archive/2005/08/05/446810.aspx