•What is the difference between “mysql_fetch_array”
and “mysql_fetch_object?
Answers were Sorted based on User's Feedback
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 |
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 |
Why print_r is used in php?
Can we embedded directly PHP code into XHTML document? State Whether True or False?
we have two tables first one is EMPLOYEE having EmpID, EmpNAME, Second table is SALARY table having id, salary Write a query to get name of those person who having more than 10000$ salary
what is Opern source?
Tips to optimize the php script..... Suggestion for exception handling in php...
Extract url from this string? It should be flexible for all strings, not for this string only. "yahoo.comyahoo.co.inhotmail.org"
Explain what is the function file_get_contents() usefull for?
What are the differences between mysqli_connect and mysqli_pconnect?
How do you pass a variable by value in php?
What is oops php?
What is the difference between InnoDb tables and MyIsam Tables in php
Does php support multithreading?