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 is JOIN? Give example & types of join?
Hi! I’m doing one Project in vb.net 2008 using mysql .In that Project have the following Issues.. 1.if one Employee getting Salary 1.2 lacs / annum means .. After he getting 1st month Salary i want to show remaining 11 month salary.. How can i Create Trigger for this Problem & How can i use it..
What is the difference between a Table and a View?
what is the Dynamic management views? where can you use?
in a master-master replication with two masters and alternate slaves running on two systems.can i have a script or any mysql command to know which one is right now acting as master.
what is the difference between MyISAM and INNO DB in MySQL with the Advantage and disadvantage
Please can the SQL code below be interpreted IF @xMatchCriteria='MATCH12' BEGIN IF EXISTS (Select * from #InsightData where (EmailAddress=@xDCPEmailAddress ) ) BEGIN SET @xTestMatchCriteria = @xMatchCriteria; SELECT @xCRMCustomerId=CustomerId, @xCRMDcpCustomerId=DcpCustomerId, @xCRMPortalCustomerID=PortalCustomerID,@xCRMDcpID=DcpID, @xCRMCardNumber=CardNumber, @xCRMEmailAddress=EmailAddress, @xCRMfirtLetterFirstName=firtLetterFirstName, @xCRMLastName=Surname,@xCRMAddressLine1=AddressLine1, @xCRMPostCode=PostCode FROM #InsightData where (EmailAddress=@xDCPEmailAddress ) END ELSE BEGIN SET @xTestMatchCriteria='No'+@xMatchCriteria; END END
please give me the answer for this: query which generates the second highest integer in the table?
What does myisamchk do?
I have two sql database at different PC.how can link b/w database and database tables.
write a c++ program to add a user to mysql.the user should be permitted to only "insert" into the given database
How can you move the master database