On Mon, 2011-05-16 at 02:55 +0200, Silvio Siefke wrote:
Hello,
i have a Blog Script for my private Website. Normal i write new Articles
direct with phpmyadmin, but this is not comfortable. I has no errors in Log
for the script and the mysql query log write the correct insert SQL code, but
Hello,
On Mon, 16 May 2011 07:13:19 +0100 Ashley Sheridan wrote:
What is your code in the included db.html? You do realise that unless
you've told the server especially that it won't know to parse your HTML
files for PHP code as well. HTML is embedded in PHP, not the other way
around. If you
Hello,
On Mon, 16 May 2011 09:57:23 +0800 xianhua zhou wrote:
VALUES(:autor, :title, :teaser, :teaser, :content, :category, :bild)
There are 2 :teaser, try remove one.
Yes thats it. Now it work well done! Thank you, im sorry sure was to long at
the pc yesterday.
Silvio
--
PHP General
On Mon, May 16, 2011 at 10:30 AM, Silvio Siefke li...@silvio-siefke.dewrote:
Hello,
On Mon, 16 May 2011 09:57:23 +0800 xianhua zhou wrote:
VALUES(:autor, :title, :teaser, :teaser, :content, :category, :bild)
There are 2 :teaser, try remove one.
Yes thats it. Now it work well done!
Hello,
On Mon, 16 May 2011 11:06:17 +0100 Stuart Dallas wrote:
In order to avoid this problem in future I encourage you to check the return
value of every function call you make that might fail, i.e. every single
one! Had you done that here, and then pulled out the last error message from
PDO
On Mon, May 16, 2011 at 11:40 AM, Silvio Siefke li...@silvio-siefke.dewrote:
Hello,
On Mon, 16 May 2011 11:06:17 +0100 Stuart Dallas wrote:
In order to avoid this problem in future I encourage you to check the
return
value of every function call you make that might fail, i.e. every single
Hello,
On Mon, 16 May 2011 12:07:37 +0100 Stuart Dallas wrote:
Not all functions raise PHP errors when they fail, in fact most don't. Most
will return an error value, and a few throw exceptions.
As the manual states, the execute method you're using will return true if it
succeeded or false
7 matches
Mail list logo