[phplib] db_mysql.inc generates warning errors on null columns From: Chris Johnson (chris <email protected>)
Date: 12/15/00

This method/function in the db_mysql.inc class:

  function f($Name) {
    return $this->Record[$Name];
  }

generates warning errors (when I've got them turned on in php.ini) that
look like this:

   Warning: Uninitialized variable or array index or property
(csr_submit_date) in db_mysql.inc on line 178

when the value of the field in that row is NULL.

Is this an inherent weakness or flaw in PHP, or is it something that
could be corrected in PHPLIB?

..chris

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>