空格带给我我的血的教训

写代码时候,不出来预想结果才最苦恼!

这是一个php重定向的代码。(我是网上找的代码)

// 重定向到注册成功页面

header("Location:regok.php?id=$id");

上面有错吗?有的,下面才是ok的~


header("Location: regok.php?id=$id");


空格,长知识吧!


发布了33 篇原创文章 · 获赞 12 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/gzh8579/article/details/20620703