what is the difference between mysql_fetch_array() and
mysql_fetch_row()?
Answer Posted / vijay kumar singhal
wrong, instead both returns all the rows from table. The
difference between them is fetch_array return result in
assoc array as well as numeric array and you can also
specify which specific type of array you want by providing
second paramter to the function while fetch_row return
result in numeric array only.
fetch_row : Array( [0]=>vijay)
fetch_array : Array([0]=>vijay [name]=>vijay)
Is This Answer Correct ? | 131 Yes | 13 No |
Post New Answer View All Answers
What are the methods useful for method overloading?
What is the special meaning of __sleep and __wakeup?
What is compact function php?
How to count a number of words in a string in php?
Which function is used in php to check the data type of any variable?
How to split a string into array using php?
Write the statements that are used to connect php with mysql
Are static variables final?
What is namespace in php?
When do sessions end?
Which is best framework for php?
Does php have future?
What is the default time of cookie in php?
How to submit form without a submit button.
What is user defined function in php?