Reply to Re: "call to undefined function" mysql_error when adding new rows to table

Your name:

Reply:


Posted by davek on 07/15/06 07:41

Jerry Stuckle wrote:
> What function is undefined?

"mysqlerror()" [sic]

I hadn't noticed the typo before because the mysql_query it related to
hadn't previously returned a 'false' value... And it turns out the
reason for the 'false' value was because the primary field in the table
was a TINYINT and it was trying to enter a value higher than 127...
doh!

Apologies for wasting your time/bandwidth.

> > (Btw, I don't know which version of PHP Supanames has installed.)
> >
>
> Did you try phpinfo()?

No, didn't occur to me. Thanks for reminding me of that option!

David

[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

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