$value) { foreach ($value as $k => $v) { $$k=$myts->addSlashes($v); } $sql="insert into `" . $xoopsDB->prefix("restaurant") . "` (`Zipcode`, `Name` ,`Description` ,`Add` ,`Website`) values('$Zipcode', '$Name' , '$Description', '$Add' ,'$Website')"; $xoopsDB->queryF($sql) or web_error($sql); } echo "ok"; //移除BOM function removeBOM($str = '') { if (substr($str, 0,3) == pack("CCC",0xef,0xbb,0xbf)) $str = substr($str, 3); return $str; } ```
進階搜尋
48人線上 (9人在瀏覽線上書籍)
會員: 0
訪客: 48