摘要:
第一种方法: select (@i:=@i+1) as i,table_name.* from table_name,(select @i:=0) as it 第二种方法: set @rownum=0;select @rownum:=@rownum+1 as rownum, t.username f 阅读全文
摘要:
一.语法 explain < table_name > 例如: explain select * from t3 where id=3952602; 二.explain输出解释 +—-+————-+——-+——-+——————-+———+———+——-+——+——-+| id | select_ty 阅读全文
摘要:
目前发现eaccelerator安装之后如果php.ini中设置open_basedir将导致open_basedir的一些报错(open_basedir restriction in effect. File() is not within the allowed path(s)),在网上查找说这... 阅读全文