예제 #1
0
 function SetSetting($name, $value)
 {
     $link = dbh::connect();
     $sql = "UPDATE `settings` SET value='" . $value . "' WHERE setting='" . $name . "' limit 1";
     mysql_query($sql);
     dbh::disconnect($link);
 }