You are here: Re: "call to undefined function" mysql_error when adding new rows to table « PHP Programming Language « IT news, forums, messages
Re: "call to undefined function" mysql_error when adding new rows to table

Posted by Jerry Stuckle on 07/15/06 11:52

davek wrote:
> 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.
>

No problem - been there, done that, got the T-Shirt (multiple, in fact
:-) ).

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

Always a good thing to remember!

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



--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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