PHP Classes

Example Bugs

Recommend this page to a friend!

      Ultimate MySQL  >  All threads  >  Example Bugs  >  (Un) Subscribe thread alerts  
Subject:Example Bugs
Summary:there is a bug in example.queries.php
Messages:2
Author:Evgeny Kalashinkov
Date:2008-01-07 01:12:37
Update:2008-01-10 22:33:33
 

  1. Example Bugs   Reply   Report abuse  
Picture of Evgeny Kalashinkov Evgeny Kalashinkov - 2008-01-07 01:12:37
// FYI: We can also shortcut and specify the "where" array in the call...
if (! $db->UpdateRow("test", $values, array("TestID" => 1))) $db->Kill();

this line should be

if (! $db->UpdateRows("test", $values, array("TestID" => 1))) $db->Kill();

because there is not UpdateRow method

I also got some more problems with this example file.

Otherwise, the class is great, i've been using it for a half a year now. Thank you for the work! =)

  2. Re: Example Bugs   Reply   Report abuse  
Picture of Jeff Williams Jeff Williams - 2008-01-10 22:33:33 - In reply to message 1 from Evgeny Kalashinkov
Good find! I will update the example in the next release.

Thank you for finding this for me and thank you for your comments!