What is the difference between mysql_fetch_array and
Answers were Sorted based on User's Feedback
Answer / subrat
mysql_fetch_array ? Fetch a result row as an associative
ARRAY, a numeric array, or both
mysql_fetch_object ? Fetch a result row as an OBJECT
|Is This Answer Correct ?||24 Yes||2 No|
Answer / sumit
mysql_fetch_object : will return the results from database
as objects. fields will be accessible like an objects
mysql_fetch_array : will return the results from database as
array. fields will be accessible like in objects
|Is This Answer Correct ?||4 Yes||1 No|
Answer / jeevabala
mysql_fetch_array : fetch the result as an array
mysql_fetch_object : fetch the result as a object
|Is This Answer Correct ?||0 Yes||0 No|
Answer / abhay kumar
mysql_fetch_array display all matching record from table as
an array while mysql_fetch_object dispaly first matching
from table as ab object
|Is This Answer Correct ?||6 Yes||9 No|
How to enable or disable a row of a table using MySQL in struts?
What is the difference Delete and Drop ?
Difference between MYSQL_ASSOC,MYSQL_NUM and MYSQL_BOTH ?
what is the advantage of stored procedures, triggers and indexing in mysql
explain GROUPBY & HAVING clause with examples.
How can we find the number of rows in a table using MySQL?
A company wants to store their invoices in a database. They already have their customers and articles in that database. Both customer and article are each identified by an unique integer value. Please create the SQL statements for creating the necessary table(s) for storing the invoices in a MySQL database. An invoice should hold information like invoice number, customer, date, article(s) and quantity etc.
how to declare unique key in creating a table..?
suppose data is copie to oracle to sql by using DTS. Actully it taken 2 hours. suppose some day distribute the server in the middle of 2 hours. after how can i get the data ?
What is RMS Migrations
What is the difference between SQL and SQL Server?
How do you change a password for an existing user via mysqladmin?