You are here: Re: PHP and SQLIte: UPDATE statement fails « PHP Programming Language « IT news, forums, messages
Re: PHP and SQLIte: UPDATE statement fails

Posted by Luigi on 11/23/07 08:24

> That's the numeric value of the sum of your error level constants:
>
> http://de.php.net/error_reporting
>
> It means E_ALL, so you should see all types of error messages.

Thanks

> Typo alert "myslite" vs "mysqlite"?
> Are you working on the wrong database?

No no, that's right....

> This MUST yield an error message since PDO has no execute method:
>
> Fatal error: Call to undefined method PDO::execute() in C:\test.php on
> line 9

OK, that was my fault! I've modified execute() with exec() and now
seems to work better. And yet I hadn't got errors!

> So you are only doing a rollback if the error is NOT a database error???

Well, it's only a test script... it was supposed to run without
errors...

> The script worked for me after changing to exec() and creating a mini
> database.

OK, thanks a lot...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация