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 / vinoth
My Opinion is at the developer point of view
mysql_fetch_assoc() is the Best method to fetch data but at
the same time at the user point of view we can use
mysql_fetch_object()for faster execution of the data.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
for image work which library?
How to define a function with any number of arguments?
What is csrf token and how will you add csrf token in ajax?
What is the ioncube php loader?
What type of errors can be occurred in php?
Do you know what is use of count() function in php?
How can you retrieve a cookie value?
Is not null in php?
How can you create a session in php?
How many escape sequences are recognized in double-quoted strings in php?
How long is csrf token?
How to count all the lines of code in a directory and sub folder?
What is the w3c?
What is encapsulation in php with example?
How to redirect a url from http to https in .htaccess?