correction – PHP Reference Book Blog https://phpreferencebook.com/ PHP Reference: Beginner to Intermediate PHP5 Sun, 01 Oct 2017 17:21:19 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.13 mysql_result() correction https://phpreferencebook.com/corrections/mysql_result-correction/ Fri, 02 Jan 2009 01:25:40 +0000 https://phpreferencebook.com/?p=37 Continue reading mysql_result() correction]]> (pg. 123)

The function has the following correct syntax:

mysql_result(resource, row[, column])

However, in the explanation paragraph, 2nd sentence, it uses the term field erroneously instead of the term column. It should read as follows:

If column is specified instead of the value of the
first column, the specified column is retrieved (can be referenced by number
starting with 0 or by name/alias).

It’s the little things, like changing the term used to be clearer to the reader and forgetting to update everything.

]]>