Difference between mysql_fetch_object and mysql_fetch_array

by 3 replies
4
please some one tell the difference between mysql_fetch_object and
mysql_fetch_array?
#programming #difference #mysqlfetcharray #mysqlfetchobject
  • very similar.

    returning an object is usually more effective if you are used to Object oriented language.
    In my opinion it is easier to write code for objects, especially if you are doing complicated coding.

    but if you are just doing basic stuff, an array may is easier.
  • very similar.

    returning an object is usually more effective if you are used to Object oriented language.
    In my opinion it is easier to write code for objects, especially if you are doing complicated coding.

    but if you are just doing basic stuff, an array may is easier.

Next Topics on Trending Feed