In mysql_fetch_array() If two or more columns of the result have the same field names, what action is taken?

The mysql_fetch_array() function returns a row from a recordset as an associative array and a numeric array.
If two or more columns of the result have the same field names,then the last column will take precedence.

Share

Leave a Reply

Your email address will not be published. Required fields are marked *