-2

我是 PHP 新手。我想通过邮寄将数据从一页发送到另一页。

if(isset($_REQUEST['submit']))
{

header("location:nextpage.php");
//here i want to send data coming from my text box's by post function
}
4

1 回答 1

2

您应该从正确的页面开始。

<form action="your-processing-script.php" method="post">

请记住,该操作是相对的,因此根据您的文件结构,您可能需要在文件 url 前加上斜杠以防止混淆。

/your-processing-script.php
于 2013-02-02T00:04:54.443 回答