How many ways there are to fetch the data from the Database?

Answers were Sorted based on User's Feedback



How many ways there are to fetch the data from the Database?..

Answer / dharmendra gurjar

mysql_fetch_array
mysql_ftech_row
mysql_fetch_object
mysql_fetch_assoc

the four way to help you to find the data from the database.

Is This Answer Correct ?    45 Yes 1 No

How many ways there are to fetch the data from the Database?..

Answer / vignesh

4 way

Is This Answer Correct ?    16 Yes 1 No

Post New Answer

More PHP Interview Questions

What are the advantages of triggers in php?

0 Answers  


How to Calculate Internal links & External Link in Website.(For Example YAHOO WEBSITE)

1 Answers  


How do you define a constant?

0 Answers  


Starting or restarting a computer is called

0 Answers  


1.Where are the sessions storing ? 2.What are the contents of a session file ? 3.If the server is loaded with too many session files there is a possibility of server crash. How can we solve this issue? 4. How does php server identify that the particular session belongs to particular user ? For ex: If two users A and B logged from different machine, separate session files (say 1 and 2) will be created in the server. But how the php knows that 1 belongs to A and 2 belongs to B ?

4 Answers   PA Consulting, TCS,






How error handling is being handled by php?

0 Answers  


What is the difference between for and foreach?

0 Answers  


How to use the COM components in PHP?

2 Answers   HCL,


How to get ip address of clients machine?

0 Answers  


what use of <?php

1 Answers   CBS,


What is mysqli_real_escape_string?

0 Answers  


What are the different loops in php?

0 Answers  


Categories