include("../php/config.php"); include "../include/header_post.php"; /* function my_connect1($host,$id,$pass,$db) { $connect=mysqli_connect($host,$id,$pass); mysqli_select_db($connect, $db); return $connect; } function cutStr($str, $maxlen) { if ( strlen($str) <= $maxlen ) return $str; $effective_max = $maxlen - 3; $remained_byte = $effective_max; $retStr=""; $hanStart=0; for ( $i=0; $i < $effective_max; $i++ ) { $char=substr($str,$i,1); if ( ord($char) <= 127 ) { $retStr .= $char; $remained_byte--; continue; } if ( !$hanStart && $remained_byte > 1 ) { $hanStart = true; $retStr .= $char; $remained_byte--; continue; } if ( $hanStart ) { $hanStart = false; $retStr .= $char; $remained_byte--; } } return $retStr .= "..."; } $connect=my_connect1($host,$dbid,$dbpass,$dbname); */ $pee="10"; // admin config// special category service if($mode == "update"){ $query = "select * from auct_master where anum=$p_num"; $result = mysqli_query($connect, $query); $row = mysqli_fetch_array($result); mysqli_free_result($result); }else{ $mode = "insert"; } ?>
Choose a Special category for your item. ![]() |
|||||||
|
|