Chicken-run Manager
Posts: 9
58 credits Members referred : 0
« Reply #22 on: Jun 18, 2008, 03:35:16 PM »
UNTESTED CODE!!!
With the prevois Version of my code, Passwords would have been updated to plaintext. That's not what we want. So let's try this:
Code:
<?php
/* * Updates a property. Data must be in the form 'property' => 'value' * @param array * @return bool */ public function updateProperty($properties) { if(is_array($properties) && count($properties) > 1) { $i=1; $query = "UPDATE `".$this->dbTable."` SET ";