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
How to get number of elements in an array?
armstrong number by using php while number is given by the keyboard.?
How can we encrypt the password using php?
When to use single quotes, double quotes, and backticks?
Tell me what is the use of isset() in php?
What is session php?
What is a session in php?
How can you associate a variable with a session?
What is polymorphism with example in php?
How to find datatype of variable in php?
What are the advantages of using php?
What does isset() function?
What is default session time and path in php?
How escape single quotes php?
How to set cookies?