Hmmm, that was the solution.  That's kind of a strange
little thing isn't it?

Thanks a lot for your help,

Jesse








I've had this same problem.  It seems that the value
of submit is only sent
if the button is clicked (netscape and internet
explorer).  Could it be
that you're using the enter key to submit the form?

The solution I used was to remove the value assignment
to the submit button
and set it in a hidden variable

<input type="hidden" name="submit" value="register">

- Jacob

At 10:58 09/19/2002, Jesse Lawrence wrote:
>Hello everyone,
>In a simple signup form that I'm using, I send the
>variables to a script, which performs a function if
>($submit == "register") {
>    function();
>  }
>
>The problem is, my signup form isn't passing the
>submit variable, though it is passing the other
>variables in the form.
>
>The strange thing is, when I try this in the Opera
web
>browser, the $submit variable does get passed along,
>but in both Mozilla and Konqueror, it does not.
>
>Have I made a little error in the following code? 
Any
>thoughts?
>
><center>
><div id="loginform">
>
><center>Join <? print $SITE_NAME; ?>...</center><br
/>
><br />
><form action="index.php" method="get" name="signup">
>Username:<br />
>  <input type="text" name="username" /><br /><br />
>
>Name:<br />
>  <input type="text" name="name" /><br />
>Email:<br />
>  <input type="text" name="email" /><br />
>Homepage:<br />
>  <input type="text" name="homepage" /><br />
>About you:<br />
><textarea name="description" rows="5" cols="19">
></textarea><br />
>
>
>Password:<br />
>  <input type="password" name="password" /><br />
>Confirm Password:<br />
>  <input type="password" name="password2" /><br />
><br />
>
>  <input type="submit" name="submit" value="register"
>/><br />
></form>
>
></div>
></center>
>
>
>
>Your help is greatly appreciated,
>Jesse Lawrence
>
>


______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to