Reply to Re: newbie: Unknown column 'image' in 'field list'

Your name:

Reply:


Posted by Jeff on 01/27/07 02:45

"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:op.tmseqrmtqnv3q9@misant.kabel.utwente.nl...
Jeff <it_consultant1@hotmail.com.NOSPAM> wrote:

> Hey
>
> This php (version 5.20) code:
> $sql = "insert into Picture(Property, Mime, Data) values (1 , $type,
> \"".$image."\")";
>
> Generate this sql (MySql5) error:
> Unknown column 'image' in 'field list'
>
> Any suggestions on how to solve this are very welcome!

Euhm, echo $sql if you please...
--
Rik Wasmus

Here is the echo of $sql:
insert into Picture(Property, Mime, Data) values (1 , image/pjpeg,
"????\0JFIF\0\0\0d\0d\0\0??\0Ducky\0\0\0\0\0F\0\0??\0Adobe\0d?\0\0\0??\0?\0
  P???")Unknown column 'image' in 'field list'

From $sql above I removed many characthers... it was very very many special
characters like  wich I removed in this post to make it more readable

Any suggestions?

Jeff

[Back to original 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

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