Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


•What is the difference between “mysql_fetch_array”
and “mysql_fetch_object?

Answers were Sorted based on User's Feedback



•What is the difference between “mysql_fetch_array” and “mysql_fetch_object?..

Answer / ravi farare

mysql_fetch_array() fetches record from database table as an
array. We can access each record like arr[0],arr[1]....etc.
on the other side mysql_fetch_object() fetches record from
database table as an object. So We can access each record
like obj->[column name].

Is This Answer Correct ?    21 Yes 1 No

•What is the difference between “mysql_fetch_array” and “mysql_fetch_object?..

Answer / kapil dhiman

mysql_fetch_array() return an array of records
mysql_fetch_object return an object of records

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More PHP Interview Questions

What is the content of /etc directory?

0 Answers  


How to call php function from javascript using ajax?

0 Answers  


What is the delimiter syntax is PHP's default delimiter syntax

0 Answers  


What are the security measures we have to take for our site not to hack by others?

1 Answers   Infosys,


Can you convert php to html?

0 Answers  


How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

0 Answers  


What is the difference between explode and split?

0 Answers  


Which function is used in php to delete a file?

0 Answers  


hi sir am kiran kumar finished my mca 2009 passed out sir .. i have more doubts regarding open source technologies sir if we pass zend exam in php can we get a job opportunity in foreign countries sir and is it good demand for php compared to dot net and java and some other technologies like sap , erp sir bcoz my friends saying they are finished dot net and java courses they telling in php we cannot earn more and we cannot go onsite opportunity even big companies not dealing with php is it right ah sir ? please send ur valuable suggestions to my email sir kiranpulsar2007@gmail.com please send ur phone number also sir thanking u sir

1 Answers  


what is this error "Call to unsupported or undefined function mysql_connect();" and when you will get this?

2 Answers  


What is indexing how many types?

3 Answers   DLF, Infosys, Net Solution, Vcare,


What is the capacity of mysql database?

0 Answers  


Categories