Page 2 of 2

Thanks

Posted: Thu Nov 17, 2005 6:12 pm
by pauspling
Oh, sorry. It came out wrong. I absolutely respect you and I am greatful for your help. I suppose I've just had some bad expereince when it comes to forums and when everyone was saying "my code works fine" and it didn't, I assumed that you might be trying to make fun of me. Sorry for that.

Grim

Posted: Thu Nov 17, 2005 6:20 pm
by pauspling
Grim, I tried to implement your code and get the following error messages:

Code: Select all

Notice: Undefined index: pleasure in C:\Program Files\Apache Group\Apache2\htdocs\test22.php on line 13

Notice: Undefined index: arousal in C:\Program Files\Apache Group\Apache2\htdocs\test22.php on line 14

Notice: Undefined index: dominance in C:\Program Files\Apache Group\Apache2\htdocs\test22.php on line 15

Notice: Undefined index: event in C:\Program Files\Apache Group\Apache2\htdocs\test22.php on line 16
I suppose I get the messages because the text fields are empty when you first open the page. How did you solve this problem?

Posted: Thu Nov 17, 2005 6:32 pm
by hawleyjr
Grim... wrote:
hawleyjr wrote:Tested mine, works fine :)
The first input field needs the $fst_num, not $snd_num, and the ans_num field needs a value... :?
Oops, what was I thinking :)
pauspling wrote:Grim, I tried to implement your code and get the following error messages:

Code: Select all

Notice: Undefined index: pleasure in C:\Program Files\Apache Group\Apache2\htdocs\test22.php on line 13

Notice: Undefined index: arousal in C:\Program Files\Apache Group\Apache2\htdocs\test22.php on line 14

Notice: Undefined index: dominance in C:\Program Files\Apache Group\Apache2\htdocs\test22.php on line 15

Notice: Undefined index: event in C:\Program Files\Apache Group\Apache2\htdocs\test22.php on line 16
I suppose I get the messages because the text fields are empty when you first open the page. How did you solve this problem?
Grim... code is fine. the error you are receiving is because of your php settngs.

Here is a resource in the manual that will help you:

http://us3.php.net/error_reporting

PS, Look at: error_reporting(0);