You are here: Re: "asort" is not doing what it is supposed to do « PHP Programming Language « IT news, forums, messages
Re: "asort" is not doing what it is supposed to do

Posted by Iván Sánchez Ortega on 02/13/07 18:36

Françoise Debat wrote:

> I have this problem reading the contents of a directory. here is my code:
>
> $my_dir = dir('data/templates');
>
> asort($my_dir);

Eeeerrr.... $my_dir is not an array, you cannot run asort() through it!!

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

http://acm.asoc.fi.upm.es/~mr/ ; http://acm.asoc.fi.upm.es/~ivan/
MSN:i_eat_s_p_a_m_for_breakfast@hotmail.com
Jabber:ivansanchez@jabber.org ; ivansanchez@kdetalk.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

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