summaryrefslogtreecommitdiff
path: root/account.php
diff options
context:
space:
mode:
authornatrak <>2000-06-02 21:53:22 +0000
committernatrak <>2000-06-02 21:53:22 +0000
commitc4d914c7c04508a3ab75247f880fd53a513e3310 (patch)
tree30d36a2662d15bfe1490fbb44785403417d2d1c5 /account.php
parent01993a66fb35b7a4dd4ece713f02023e99909833 (diff)
downloadbrdo-c4d914c7c04508a3ab75247f880fd53a513e3310.tar.gz
brdo-c4d914c7c04508a3ab75247f880fd53a513e3310.tar.bz2
Adding some debug info.
Diffstat (limited to 'account.php')
-rw-r--r--account.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/account.php b/account.php
index 08aecf5c2..fbc8de2ef 100644
--- a/account.php
+++ b/account.php
@@ -7,6 +7,7 @@ function dbsave($dbase, $data, $id=0) {
if ($key == "passwd") { $query .= "$key=PASSWORD('". addslashes($value) ."'), "; }
else { $query .= "$key='". addslashes($value) ."', "; }
}
+ print($query);
$query = substr($query, 0, -2);
dbconnect();
if (!empty($id)) { mysql_query("UPDATE $dbase SET $query WHERE id=$id") or die(mysql_error()); return $id; }