Create a form of 2 numbers input and find the greatest.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
marquitos25
Forum Newbie
Posts: 1
Joined: Thu Oct 22, 2009 6:36 am

Create a form of 2 numbers input and find the greatest.

Post by marquitos25 »

Hi, everybody.

I have a homework in my training of php, which ask you to make a form that asks you to input 2 numbers and so tell you which number is greater than the other.

I need to know how to make the script of that form, and would apreciate your answers.

Yours, Marcos.
User avatar
markusn00b
Forum Contributor
Posts: 298
Joined: Sat Oct 20, 2007 2:16 pm
Location: York, England

Re: Create a form of 2 numbers input and find the greatest.

Post by markusn00b »

Hi, Marcos. Our names are similar, though I concede your's is much more interesting -_-

Any hoo, what part do you need help with, the form (the HTML) or the PHP?
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: Create a form of 2 numbers input and find the greatest.

Post by Mark Baker »

Sounds like a homework assignment to me
What have you done so far?
User avatar
markusn00b
Forum Contributor
Posts: 298
Joined: Sat Oct 20, 2007 2:16 pm
Location: York, England

Re: Create a form of 2 numbers input and find the greatest.

Post by markusn00b »

Mark Baker wrote:Sounds like a homework assignment to me
What have you done so far?
You think? It does say 'homework' in his post.
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: Create a form of 2 numbers input and find the greatest.

Post by Mark Baker »

markusn00b wrote:You think? It does say 'homework' in his post.
True enough - I skimmed through the post, noticed the lack of any effort on the OP's part to do anything himself before posting here, and missed the word "homework"
User avatar
markusn00b
Forum Contributor
Posts: 298
Joined: Sat Oct 20, 2007 2:16 pm
Location: York, England

Re: Create a form of 2 numbers input and find the greatest.

Post by markusn00b »

Mark Baker wrote:
markusn00b wrote:You think? It does say 'homework' in his post.
True enough - I skimmed through the post, noticed the lack of any effort on the OP's part to do anything himself before posting here, and missed the word "homework"
Hehe :) I get the feeling the OP has abandoned this thread anyway.
Post Reply