You are here: Re: mySQL result to real array in function « PHP Programming Language « IT news, forums, messages
Re: mySQL result to real array in function

Posted by Chuck Anderson on 04/26/06 00:58

David Haynes wrote:

>Gerard Matthew wrote:
>
>
>>Frizzle,
>>
>>Did the mysql_fetch_array( $get_res, 1 ) change fix the problem?
>>
>>
>>
>
>This would probably be clearer as:
>mysql_fetch_array($get_res, MYSQL_ASSOC);
>
>-david-
>(I hate magic numbers in code ;-) )
>
>
>
Or use mysql_fetch_assoc instead of mysql_fetch_array.


--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
Integrity is obvious.
The lack of it is common.
*****************************

 

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

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