I have a question how can I redirect in PHP after a form insert.
Example: I have the file insertMedia.php
The HTML:
<form method="POST" action="insertMedia.php">
</form>
and after the html the php script:
<?php
code_for_mysql_insert(); // dummy placeholder function for the MySQL insert
header('Location: otherSite.php');
?>
But this doesn't work. What do I have to change?
Thanks for your help Lingo