PHP prob

February 2nd, 2020

I have to do something very simple for my homework, and it’s not working.
I was wondering is someone could help me.
Well I have to make two files. One is index.html and the other one is result.php
The index file is like this
<html>
<body><form action="result.php" method="post">
Age : <input type="text" name="number"/>
<input type="submit"/>
</form>
</body>
</html>

and when I enter right number (which is my age 25) the php script should write “You are 25 years old”, if I enter wrong number should be displayed “Wrong number” Well, I have problem in writing a PHP code for results.php
Can somebody help me

Answer #1
There is many readymade php contact form available on google search which is easily free of cost. There is flash one also.
Answer #2
This is not a contact form problem.

 

| Sitemap |