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|
What does myisamchk do?
what is the difrence between sql and pl/sql
Table - Products has number of products as below Productid ProductName 1 iPhone 2 iPad 3 BlackBerry Table - SalesPersonProduct has the below records Salespersonid productid S1 1 S1 2 S1 3 S2 1 S3 2 Write a SQL query that returns the total number of sold products
Which one of the following is the correct way to select all columns and all rows from "vtable"? Choice 1 SELECT FROM vtable SELF JOIN vtable Choice 2 SELECT ALL COLUMNS FROM vtable WHERE ALL ROWS = * Choice 3 SELECT EVERYTHING FROM vtable Choice 4 SELECT vtable.* WHERE vtable = vtable Choice 5 SELECT * FROM vtable WHERE 1 = 1
when i declare date data type in sql ,i inserted the date 22-10-2012,but my result is in different date 1894-07-11 any one pls help me what's wrong in my query Create table orders(od_id int,od_name varchar(10),od_date date) insert into orders values(1,'sai',22-10-2012) and any one pls suggest what i can learn for 3 years real time experenice in sql because i am looking for database field
How to set the time zone for MySQL to particular country time?
What is check constraint?
all the queries used in sql
Print 3 highest salary
How many ways we can we find the current date using MySQL?
how to repair a table in mysql?
What are HEAP tables in MySQL?