$guess = = $number
is wrong.
You should write:
$guess == $number
Regards,
Hiroshi Ayukawa
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 13 March 2010 11:54, Jennifer Downey wrote:
> Hi all,
>
> I having a hard time understanding why this won't work. I have a form which
> is suppose to pass the guess to the script. Here it is:
It's no good just telling us it doesn't work. You need to tell us what
happens when you run
Try Now:
The computer has picked a number between 1 and 10. Guess the number and
you win!
Enter your guess:
-Original Message-
From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 13, 2010 9:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Random number Question
Hi a
3 matches
Mail list logo