PHP Reference Book Blog

PHP Reference: Beginner to Intermediate PHP5

Jan-1-09

mysql_result() correction

posted by Mario Lurig

(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.

Similar Posts:

Share and Bookmark:
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Digg
  • Facebook
  • MySpace
  • Twitter
  • NewsVine
  • Tumblr

Add A Comment