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を使用して、1行の確認メッセージで既存のhtmlページにリダイレクトする方法はありますか.
ユーザー情報を収集してデータベースに挿入し、ユーザーがレコードを認識できるように確認メッセージを表示したい
あなたが使用することができますheader("Location: yourpage.html"); exit();
header("Location: yourpage.html"); exit();
出力の前に使用する必要があります。使用しないと、警告メッセージが表示されますheader already sent
header already sent