What is the difference between mysql_fetch_array and
mysql_fetch_object?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1156


What is the full meaning of mysql?

485


Where is mysql password stored?

468


How can I insert images into a Mysql database?

559


How do I run mysql from command line?

476






Which statement is used to delete a table in MySQL.

477


How many ways to get the current time?

507


How to use triggers to track changes in mysql?

481


Can I install mysql on mac?

522


How many mysql connections can handle?

485


What is the difference between b-tree and hash indexes?

448


1.how to fetch a value and Execute store procudure in mysql(INNODB) using phpMyAdmin? 2.can i wright a package in mysql database(INNODB)?

1931


What are date and time intervals?

511


What is the function of mysqldump?

570


Does mysql case matter?

487