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 remove blank spaces from the string?
Which function would you use to merge two arrays in php?
Which PHP function would you use to send an email?
The left association operator % is used in PHP for?
Explain how to run the interactive php shell from the command line interface?
How many types of array supported in php?
What is namespace and use in php?
Do while loops?
Where are sessions stored php?
What does the scope of variables mean?
What is helper function?
What is the best php version for wordpress?
How can I make a script that can be bilingual (supports english, german)?
How to terminate the execution of a script in PHP?
How to call javascript function in php on button click?