You are here: Re: array / mysql question -SOLVED :-) « PHP Programming Language « IT news, forums, messages
Re: array / mysql question -SOLVED :-)

Posted by Jerry Stuckle on 12/05/06 13:09

Martien van Wanrooij wrote:
>
> "Jerry Stuckle" <jstucklex@attglobal.net> schreef in bericht
> news:t9WdnSwzjbyWdenYnZ2dnUVZ_qGdnZ2d@comcast.com...
>
>>
>> OK, I'm just having a little trouble understanding here. After your
>> call to getFromMySql(), does the array actually contain the values
>>
>> "ceci2k600.jpg",
>> "ceci2k601.jpg",
>> "ceci2k602.jpg",
>> "ceci2k603.jpg",
>> "ceci2k604.jpg",
>> "ceci2k605.jpg",
>> "ceci2k606.jpg",
>> "ceci2k607.jpg",
>> "ceci2k608.jpg",
>> "ceci2k609.jpg"
>
> Yes it does.. but finally I found the solution, the problem was
> somewhere else. I had used a script to add the filenames to the database
> and it turned out in that script, some spaces were added to each. I used
> rtrim for the result and everything works fine now. So in the database
> there was not "ceci2k600.jpg" but "ceci2k600.jpg " .
> Thanks for all the help anyway and sorry for having bothered you so much
>
> Martien.
>

Martien,

Ah, yes, and such problems are very difficult to see on a screen. Glad
you found your bug!

--
==================
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

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