代码
a.php
$path=$_GET[path];
$url="http://bj.tv.wo.com.cn";
$result=mysql_query("select * from new where path='3' order by id desc limit 0,1");
while($row=mysql_fetch_array($result)){
?>
& name= & url =">
}
?>
b.php
include("conn.php");
$id=$_GET[id];
$type=$_GET[type];
$showtime=date("Y-m-d");
$url=$_GET[url];
$resultc=mysql_query("insert into total_counter (time,type,url) values ('$showtime','$type','$url')");
$result=mysql_query("select * from new where id=$id");
while($row=mysql_fetch_array($result)){
?>
}
?>
回复讨论(解决方案)
你的源代码就是这样的么???我没看到变化的url啊
url带有斜线,需要转义后再插入数据库
问题已解决了
解决了 就结贴给分吧. 你这问题应该是小问题