Magento Expert Forum - Improve your Magento experience

Results 1 to 6 of 6

What does Mysql_fetch_assoc do?

  1. #1

  2. #2
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    97
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Exhibit mysql_fetch_assoc(resource result);
    Returns an acquainted cluster that compares to the brought line and moves the inward information pointer ahead.
    mysql_fetch_assoc is proportional to calling mysql_fetch_array with MYSQL_ASSOC for the discretionary second
    parameter. It just returns an affiliated exhibit.

  3. #3
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    165
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    exhibit mysql_fetch_assoc(resource result); Returns an affiliated cluster that relates to the got column and moves the inner information pointer ahead. mysql_fetch_assoc is comparable to calling mysql_fetch_array with MYSQL_ASSOC for the discretionary second parameter. It just returns an affiliated exhibit.

  4. #4
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    124
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Depiction. cluster mysql_fetch_assoc(resource result); Returns an affiliated exhibit that compares to the got line and moves the inner information pointer ahead. mysql_fetch_assoc is proportionate to calling mysql_fetch_array with MYSQL_ASSOC for the discretionary second parameter. It just returns a cooperative cluster.

  5. #5
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    144
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Definition and Usage. The mysql_fetch_assoc() work restores a line from a recordset as an acquainted exhibit. This capacity gets a line from the mysql_query() capacity and profits a cluster for progress, or FALSE on disappointment or when there are no more columns.

  6. #6
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    143
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    mysql_fetch_object() is similar to mysql_fetch_array(), with one difference - an object is returned, instead of an array. Indirectly, that means that you can only access the data by the field names, and not by their offsets (numbers are illegal property names).

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •