Re: [PHP] newbie issues with control structures & HTML form

2004-01-27 Thread Stuart
Jonno Agnew wrote: I wondered if I can ask you two follow-up questions? On-list, yes. Off-list, yes, at consultancy rates. (1) On Useractive's PHP environment, if ($guessnumb) { seems to work fine, but on my PHP 4.3.4 environment it doesn't. Is there some setting I need to tweak, and if so could

RE: [PHP] newbie issues with control structures & HTML form

2004-01-22 Thread Martin Towell
hould do the trick HTH Martin > -Original Message- > From: Jonno Agnew [mailto:[EMAIL PROTECTED] > Sent: Friday, 23 January 2004 7:16 AM > To: [EMAIL PROTECTED] > Subject: [PHP] newbie issues with control structures & HTML form > > > > Hello. > > OK,

Re: [PHP] newbie issues with control structures & HTML form

2004-01-22 Thread Stuart
Jonno Agnew wrote: if ($guessnumb) { Try $_GET['guessnumb'] or $_POST['guessnumb'] if the form is posted. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie issues with control structures & HTML form

2004-01-22 Thread Jonno Agnew
Hello. OK, so I'm new and I'm doing this Useractive/O'Reilly Learn PHP course and they want us to make a guessing game where you have to guess a number between 0-100 and get 10 tries; each time you're told if your guess was higher, or lower, or just right. I've hit a wall. Can you help me (cod