09-01-2012, 21:10
|
מנהל פורומי "תכנות ובניית אתרים" ו"חומרה ורשתות"
|
|
חבר מתאריך: 25.10.01
הודעות: 42,775
|
|
אתה בטוח שקראת?
ציטוט:
במקור נכתב על ידי http://php.net/mysql_fetch_array
Return Values
Returns an array of strings that corresponds to the fetched row, or FALSE if there are no more rows. The type of returned array depends on how result_type is defined. By using MYSQL_BOTH (default), you'll get an array with both associative and number indices. Using MYSQL_ASSOC, you only get associative indices (as mysql_fetch_assoc() works), using MYSQL_NUM, you only get number indices (as mysql_fetch_row() works).
|
הוא מקבל רק רשומה אחת משום שזה מה שהפונקציה מחזירה. רשומה אחת, מהמיקום הנוכחי של המצביע על משתנה ה resource. גם זה, כתוב בטקסט שציטטתי לעיל, ואתה כבר קראת (אמרת שקראת הכל, נכון?)
|