what is the difference between mysql_fetch_array() and
mysql_fetch_row()?
Answer Posted / tushal burungale
fetch_array:
fetch_array returns result in assoc array and also in
numeric array
e.g fetch_array:Array([0]=>Tushal)
fetch_row:
mysql_fetch_row returns result in numeric array only.
e.g
fetch_row:Array([0]=>Tushal[name]=>Tushal)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the role of the .htaccess file in php?
Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
How to swap two variables without using 3rd temp variable.
What is the difference between $name and $$name?
What is "echo" in php?
Why does sql injection happen?
Tell me what is the main difference between php 4 and php 5?
What is the use of mysql_real_escape_string() function?
Tell me can the value of a constant change during the script's execution?
What is foreach loop in php?
What is return value in php?
What is the use of offset in mysql?
What is c++ polymorphism?
What is a string in r?
Which is useful for method overloading?