2
/********************************************************
5
(C)Copyright 2002 Ryo Chijiiwa
6
This file is part of IlohaMail, released under GPL
9
Save colors (in $my_colors) to DB back-end
11
"include/session_auth.inc"
15
********************************************************/
17
include_once("../include/array2sql.inc");
18
include_once("../conf/db_conf.php");
19
include_once("../include/idba.$DB_TYPE.inc");
23
if ($session_dataID > 0){
28
$sql = Array2SQL($DB_COLORS_TABLE, $my_colors, "UPDATE");
29
$sql.= " WHERE id=$session_dataID";
30
if (!$db->query($sql)) echo "DB query failed: $sql <br>\n";
32
echo "DB connection failed.<br>\n";
b'\\ No newline at end of file'