Re: SqLite INSERT want not write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19 Apr 2012, at 18:31, Silvio Siefke wrote:

> i have a script which should write articles in a Sqlite 0database. The script 
> runs without errors, but nothing is written to the database.
> 
> 
> The Script: http://nopaste.info/09e68c7e37.html
> The db.php: http://nopaste.info/afd4dee47a.html
> 
> The Database file has right 777. Has someone an idea? Thank u. 

The script has syntax errors in it. You won't see those errors because PHP won't run a script with syntax errors, so it won't modify the error_reporting and display_errors settings.

You can run php -l script.php to see those errors, but it would be better to set the error_reporting and display_errors values in php.ini on your development system/server.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux