登录注册

18250178511

关于标签重叠问题

作者:admin      时间:2016-01-04 09:09:09

       这是一个关于标签链接的问题,标签由用户自己选定,链接到某个关于该标签的网页。刚开始的时候,我使用了简单的标签循环正则替换的方法,也没有发现什么问题,但是过了一段时间后,问题就出现了,如果一个标签包含有另一个标签,且长标签出现的比较早的话,就会出现链接错误的情况,后来我采用了以下方法,对需要替换的标签进行了排序。


        于是问题就解决了,方法来自于网络。

        附上该页面http://www.xiayizhan.cn/share/a4958.html


上一篇:PHP361介绍

下一篇:关于数据库排序问题


发表评论

评论列表

匿名

buy provigil 100mg for sale <a href="https://modaforsleep.shop/">buy phenergan without prescription</a> buy phenergan pills

2023-03-13 12:23:07

匿名

oral glucophage 500mg <a href="https://tamonline.shop/">buy nolvadex 20mg pills</a> order tamoxifen 10mg pills

2023-03-13 03:22:26

匿名

cialis tadalafil 5mg <a href="https://ereceds.com/">medications for ed</a> best ed pill for diabetics

2023-03-11 16:10:33

匿名

order minocin 100mg generic <a href="https://pllsgnrc.shop/">order minocin 100mg generic</a> hytrin oral

2023-03-11 03:36:34

匿名

tadalafil 10mg tablet <a href="https://tadcial.com/">Buy generic cialis</a> sildenafil mail order us

2023-03-09 22:05:54