I'm having a bit of a problem with a form. I need to send its information to 2 different pages for two different uses. One of the pages will show what was inserted in the form and the other one will use the form's title as a link to the other page.
The code I'm using is below. Right now, it only takes the form info and shows it in the View.php page.
I'm pretty sure I'll have to use some PHP in here, but I'm out of ideas.
<html>
<head>
<title>!!!!Protótipo de Formulario de Noticia!!!!</title>
<style>
textarea{
resize:none;
}
</style>
</head>
<body>
<form method="post" action="View.php">
<p>Titulo: <input type="text" name="Titulo" required/></p>
<p>Digite o texto da noticia abaixo:</p>
<textarea rows="10" cols="50" name="Noticia" required></textarea>
<br>
<input type="submit" value="Publicar" onsubmit="location.href='View.php;'" />
</form>
</body>
</html>