Subject Re: [Firebird-general] Need to trim extra spaces at the end of field value - PHP / Firebird
Author Carlos H. Cantu
This is not a support list... please send next questions to fb-support
;)

BTW, "PHP is correct", since char in Firebird really store the
trailing spaces. If you dont want it, use VARCHAR, or use TRIM
function in the select to remove the spaces.

[]s
Carlos H. Cantu
Firebird Performance in Detail - http://videos.firebirddevelopersday.com
www.firebirdnews.org - www.FireBase.com.br

HDC> Hi all

HDC> I'm having trouble because PHP ibase_fetch_object() is returning
HDC> extra spaces at the end of field value when datatye is char. Is
HDC> there some work arround for avoiding this.

HDC> Any help will be appreciated.

HDC> Nando.




HDC> ------------------------------------

HDC> Community email addresses:
HDC> Post message: Firebird-general@yahoogroups.com
HDC> Subscribe: Firebird-general-subscribe@yahoogroups.com
HDC> Unsubscribe: Firebird-general-unsubscribe@yahoogroups.com
HDC> List owner: Firebird-general-owner@yahoogroups.com

HDC> Shortcut URL to this page:
HDC> http://www.yahoogroups.com/community/Firebird-generalYahoo! Groups Links