开发知识点,个人使用

来源:互联网 发布:智慧树网络选修课答案 编辑:程序博客网 时间:2024/06/10 06:40

host 文件路径   C:\Windows\System32\drivers\etc

mysql  order by rand('可以是随机数字作为标识符')   同样的标识符结果相同 


RewriteRule ^price/(.*).html$ price.php/$1 [QSA,PT,L]RewriteRule ^(.*).html$ index.php/Home/$1 [QSA,PT,L]
写到如上规则发现不起作用,最近发现price关键字不识别,修改price 为prices可以使用

html 样式

word-break:keep-all;/* 不换行 */
white-space:nowrap;/* 不换行 */
overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
text-overflow:ellipsis;/* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用。*

//正则表格 

$zz = "/<td>([^<]*?)<\/td>/";
//正则url

$reg_tag_a = '/http:\/\/www.jiancai.com\/tradeinfo\/offerdetail\/[A-z0-9-_\.]*.html/';

原创粉丝点击