Home > Backend Development > PHP Tutorial > 在用tp开发新闻系统时,如何搭建环境

在用tp开发新闻系统时,如何搭建环境

WBOY
Release: 2016-06-23 14:40:05
Original
1086 people have browsed it

在用tp开发新闻系统时,如何搭建环境呢,数据库如何建?结构怎么样?可以用多表吗?


回复讨论(解决方案)

不大清楚这个,google搜索一下

不管开发什么,看TP2.0中文手册吧,或者到bbs.thinkphp.cn提问,论坛还是比较活跃的!

        /// <summary>        /// 去除文字内容中的html代码        /// 创建人:魏巍        /// 创建时间:2013-06-08        /// </summary>        /// <param name="str"></param>        /// <returns></returns>        public static string Removehtml(string str)        {            string strTmp = string.Empty;            Match m;            System.Text.RegularExpressions.Regex reg = new System.Text.RegularExpressions.Regex(@"\<[^>]*>");            if (reg.IsMatch(str))            {                m = reg.Match(str);                for (int index = 0; index < m.Groups.Count; index++)                {                    strTmp = reg.Replace(str, "");                }            }            else            {                strTmp = str;            }            return strTmp;        }
Copy after login

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template