Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はPHPを初めて使用します。あるページから別のページにデータを郵送したい。
if(isset($_REQUEST['submit'])) { header("location:nextpage.php"); //here i want to send data coming from my text box's by post function }
まず、適切なページをターゲットにする必要があります。
<form action="your-processing-script.php" method="post">
アクションは相対的なものであることに注意してください。ファイル構造によっては、混乱を防ぐためにファイルのURLの前にスラッシュが必要になる場合があります。
/your-processing-script.php