You are here: Re: mysql_fetch_array « All PHP « IT news, forums, messages
Re: mysql_fetch_array

Posted by Mike on 02/01/06 18:33

Thanks but how do I get this to work...

I thought of a way to do it but I need to access each line of the array

by number. I think this is called the master element index position.


I thought the following would work but it dosn't...


$row = mysql_fetch_array($result, MYSQL_BOTH)
echo $row[1]['id'];
echo $row[1]['f_name'];
echo $row[1]['l_name'];


Theres no error, it just returns nothing.
Mike

 

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

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