Which is the best method to fetch the data from mysql?
1.mysql_fetch_array()
2.mysql_fetch_object()
3.mysql_fetch_row()
4.mysql_fetch_assoc()
Answer Posted / 24/06/08
mysql_fetch_array() is select total values of tables.
mysql_fetch_object() is select a partcular name of the row
in a tables.
mysql_fetch_row() is select row in tables is saem one
object functionor comment.
mysql_fetch)assoc() it means the same function of
mysql_fetch)row and object function.
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
What is a class in php programing?
What are the functions to be used to get the image's properties (size, width and height)?
How to create an array in php?
What does $_env means?
How to remove html tags from data in php?
Which is incorrect with respect to separating php code and html?
What is the meaning of symbol '$' in jquery?
my english is not too good then what we apply for a php programer post
Where is session value stored php?
What is the difference between print() and echo()?
Code to upload a file in PHP?
Which programming language does php resemble?
How to access a Static Member of a Class in PHP?
Tell me how would you declare a function that receives one parameter name hello?
How do I debug php?