mysql functions
I have two questions
1)
after using the mysql_query() function you can read the returned data with mysql_result(), mysql_fetch_assoc() or mysql_fetch_array
1a)
I have always used the mysql_result() function myself would I be correct to think that the difference between this and the other two is that the other two do not need to be put into a loop in order to go through the rows of data one at a time?
1b)
What is the difference between mysql_fetch_assoc() and mysql_fetch_array?
2)
The PHP manual says that use of mysql_result(), mysql_fetch_assoc() or mysql_fetch_array is discouraged and that you should use the MySQLi or PDO_MySQL extensions instead
why is this?
