Reply to Re: MySql VCHAR column converted to float by PHP :-(

Your name:

Reply:


Posted by Wayne on 03/01/06 19:59

On 1 Mar 2006 08:24:40 -0800, rass.elma@googlemail.com wrote:

>Appearently the PHP interpreter converts the VCAHR value automatically
>in a float despite the fact that the value is defined as a VCAHR in
>MySql.

PHP does not automatically convert any values unless there is a need.
You must have something in your code forcing it to a float. Do a
var_dump() right when you retrieve it from MySQL.

You might want to post some code as to how you are getting the result
from MySQL.

[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

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