半点优化网 http://www.bdxc.net/
当前位置首页 > 网站技术问题> 正文

急急急!!求救!网站代码问题 !

2022-10-20 07:00:00 暂无评论 11 网站技术问题 解答   代码   高手

这样的分页,当ID不连贯时,就会出现错误。你要做的就是把ID动态化,也就是说不是+1.而是去数据库读取下一条记录的ID号。

网站代码问题!

那两 个'response.Write(sqltext2) 是调试时加上的,去掉就不读出来了
if idd<> then
sqltext2=select ID,BigPic from NwebCn_Products where ID=& idd
'response.Write(sqltext2)
else
sqltext2=select ID,BigPic from NwebCn_Products where SortID=159 order by id desc
'response.Write(sqltext2)
end if

在</script>和</head>之间有个代码去掉就可以

网站代码问题请老师指点,谢谢,看图,

<div style=“css样式”><a herf=点击跳转联系地址><img src=电话图片地址/></a></div>
<div align=center><a href=#><img src=skin/images/bot.jpg/></a></div><div style=max-width:32rem; margin:0 auto;><a href=tel:021-电话号码此处不写。><img src=skin/images/tpphone.gif width=100%></a></div>

网站代码问题 请高手解答

<script type=text/javascript src=../gamestat.xunlei.com/stat/click.js></script>
这个有问题这个是相对路径,改成绝对路径就行了
<script type=text/javascript src=></script>

随机文章


    Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/bdxc.net/e/class/connect.php) is not within the allowed path(s): (/www/wwwroot/www.bdxc.net/:/tmp/) in /www/wwwroot/www.bdxc.net/1.php on line 4

    Warning: require(/www/wwwroot/bdxc.net/e/class/connect.php): failed to open stream: Operation not permitted in /www/wwwroot/www.bdxc.net/1.php on line 4

    Fatal error: require(): Failed opening required '/www/wwwroot/bdxc.net/e/class/connect.php' (include_path='.:/www/server/php/56/lib/php') in /www/wwwroot/www.bdxc.net/1.php on line 4