What is the purpose of using header("location: /kontakt_test.php") in PHP forms and what potential issues can arise from it?
Using header("location: /kontakt_test.php") in PHP forms is used to redirect the user to another page after a form submission. However, one potential issue that can arise is that headers must be sent before any output is displayed on the page. To solve this issue, you can use output buffering to capture any output before sending headers.
<?php
ob_start();
// Your form processing code here
header("Location: /kontakt_test.php");
exit();
ob_end_flush();
?>