[PHP-DB] MySQL Update Quandry

2005-11-25 Thread maestro
Greetings, I am doing an update to a table as such: class DB { function updateMember($email, $password, $postalCode, $language, $id, $word) { ... if (!(@ mysql_query($query, $connection))) { $this->errors = array(mysql_errno(), mysql_error()); $

[PHP-DB] Re: MySQL Update Quandry

2005-11-25 Thread Matt Monaco
This might be easier using the mysqli extension, but the function mysql_info will give you a string result indicating information about the most recent string, just as you would from the command line. The rows matched is what you're looking for, which appears first in the string, so you should