[PHP-DB] UPDATE IF

2011-03-14 Thread Gary
have been looking over the manual and boards but am not finding a solution. Can anyone point me in the right direction. -- Gary __ Information from ESET Smart Security, version of virus signature database 5952 (20110314) __ The message was checked by ESET Smart Security. http

Re: [PHP-DB] UPDATE IF

2011-03-14 Thread Richard Quadling
2, if that is empty, then insert data into column 3. I have been looking over the manual and boards but am not finding a solution. Can anyone point me in the right direction. -- Gary __ Information from ESET Smart Security, version of virus signature database 5952 (20110314

[PHP-DB] MySQL Unbuffered Query Behavior Change

2011-03-14 Thread Nicholas Williams
I was previously on PHP 5.1.6 and was using the following code: $dbr = mysql_unbuffered_query($query, $this-con); while($row = mysql_fetch_array($dbr, $assoc ? MYSQL_ASSOC : MYSQL_NUM)) $this-result[] = $row; $this-rows = mysql_num_rows($dbr); It worked properly. The