$s = "create table board ( sn int primary key auto_increment, name varchar(15) not null, email varchar(30), ip varchar(15), time datetime, content tinyblob not null)"; file_query($s,$conn); //file_query("insert into table board (sn,name,ip) value (15,'w,r,r,oi','$remote_addr')",$conn);
//$rs = file_query("select * from board",$conn); $rs = file_query("select * from board where true group by 2 order by 2 desc",$conn); //$rs = file_query("select count(*) as js,time as hj,ip as pi,name,sn from board group by name order by sn desc",$conn); //$rs = file_query("select sn,name,email,io from board where true group by 1 order by 2 desc",$conn); file_close($conn);