Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is the difference between mysql_fetch_object() and mysql_fetch_array()?
#2
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).
Reply


Messages In This Thread
RE: What is the difference between mysql_fetch_object() and mysql_fetch_array()? - by RH-Calvin - 07-15-2020, 11:55 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Describe the difference between cookies, sessionStorage, and localStorage. Kajal 3 16,165 07-15-2020, 12:00 PM
Last Post: RH-Calvin
  Difference between div and span? beingchinmay 3 4,542 07-15-2020, 11:54 AM
Last Post: RH-Calvin
  Difference between swing and AWT? beingchinmay 0 2,982 04-13-2016, 02:39 PM
Last Post: beingchinmay
  What is the difference between $message and $$message? beingchinmay 0 2,805 04-11-2016, 05:19 PM
Last Post: beingchinmay

Forum Jump:


Users browsing this thread: 1 Guest(s)