How do I make the statement below work. I have a form that post the values to my function.php. Is it possible for me to include the .html files on the function.php as a content rather than heading to the locations? I am new student learning the hard way.
<?php
if ($_POST['city'] = 'london'){
header('Location: london.html');
}
if ($_POST['city'] = 'manchester'){
header('Location: manchester.html');
}
if ($_POST['city'] = 'conventry'){
header('Location: coventry.php');
}
exit;
?>