You are here: How do mysql_fetch_assoc/mysql_query work? « PHP Programming Language « IT news, forums, messages
How do mysql_fetch_assoc/mysql_query work?

Posted by smythe70 on 11/04/30 11:56

How do mysql_query() and mysql_fetch_assoc() actually work?

When I submit a query to a MySQL database it goes away, works out what
I requested and throws it back at me. When I submit a query using PHP I
submit the query using mysql_query and then iterate through the result
set sing mysql_fetch_assoc() (or mysql_fetch_array() or
mysql_fetch_row()). What is the purpose of mysql_fetch_xxxx()? Why
can't mysql_query return a two dimensional array? What trickery is
going on?

 

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

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