include "function/function.php"; if (!empty($submit)) { $tool = new tools_h; $msql = new phpMysql_h; $msql->init(); $pic = $picture; if ($http!="") { $http="http://".$http; } $str = "INSERT INTO $msql->album (serial,name,sex,email,http,subit,message,isbackalbum,pic,datex,tdatex) VALUES ('','$name','$sex','$email','$http','$subit','$message','n','$pic',now(),now()) "; $msql->query($str); $tool->showmessage("留言送出成功!!"); $tool->submitURL("index.php"); } ?>
|
|
|||