I am designing a wordpress page on which i can add my own php code on as well.
I want to be able to add a form that users can enter their post code and based on their post code I wish to display a price.
So far I have come up with this, but need help in adding the IF statement to it:
<form action="" method="post">
Post Code: <input type="text" name="post_code" />
<input type="submit" />
</form>
Your Post Code is: <?php echo $_POST["post_code"]; ?>!<br />
And the price for that post is:
Can someone help me here please?
Appreciate your help in advance! 🙂
rewritten based on commetns