标题位置不能在live上工作但在localhost中工作

时间:2016-03-11 11:29:05

标签: php

include "include/connection.php";
$date= date("Y-m-d H:i:s");
$profile_comment="INSERT INTO `infotown_test`.`profile_comments` (`id`, `user_id`, `name`, `email`, `comments`, `date_and_time`) VALUES (NULL, '".$_REQUEST['user_id']."', '".$_REQUEST['name']."', '".$_REQUEST['email']."', '".$_REQUEST['comment']."', '".$date."')";
mysql_query($profile_comment);
header("location:company-profile.php?id=2");(why it's not working?)

1 个答案:

答案 0 :(得分:0)

制作" 位置"资本到" 位置",

header("Location:company-profile.php?id=2");