php form
Moderator: General Moderators
Thanks
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
Grim, I tried to implement your code and get the following error messages:
I suppose I get the messages because the text fields are empty when you first open the page. How did you solve this problem?
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 16Oops, what was I thinkingGrim... wrote:The first input field needs the $fst_num, not $snd_num, and the ans_num field needs a value...hawleyjr wrote:Tested mine, works fine
Grim... code is fine. the error you are receiving is because of your php settngs.pauspling wrote:Grim, I tried to implement your code and get the following error messages:
I suppose I get the messages because the text fields are empty when you first open the page. How did you solve this problem?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
Here is a resource in the manual that will help you:
http://us3.php.net/error_reporting
PS, Look at: error_reporting(0);