A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22

Thread: Email contact form "undefined" problem with php

  1. #21
    Senior Member
    Join Date
    Feb 2003
    Posts
    129
    Alright, I appreciate all your help!

    Anyone else got any ideas?

  2. #22
    Senior Member
    Join Date
    Feb 2003
    Posts
    129
    I've just noticed something about my Login button, does this have anything to do with it?

    Code:
    on (release, keyPress "<Enter>") {
    	user=user;
    	for (var ndx = 0; ndx<totalMembers; ++ndx) {
    		if (user == memberArray[ndx][0]) {
    			if (pass == memberArray[ndx][1]) {
    				gotoAndStop("Website", 1);
    				success = true;
    				youremail=memberArray[ndx][2];
    				password=memberArray[ndx][1];
    				Submit = "Yes";
    			}
    		}
    		if (false == success) {
    			gotoAndStop(4);
    			error = "Login details incorrect. Please try again.";
    		}
    	}
    }
    Shouldn't it have "userlevel = memberArray[ndx][3];" in there somewhere to load up the user's level?
    If so, I tried that and still get the same result. What have I done wrong?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center