Re: [PHP-WIN] im so stupid

2002-02-12 Thread Afan Pasalic
Thanks guys, I didn't know that... One more happy day... Afan - Original Message - From: Mike Flynn To: Nicole Amashta ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 11:03 AM Subject: Re: [PHP-WIN] im so stupid At 10:43 AM 2/12/2002

Re: [PHP-WIN] im so stupid

2002-02-12 Thread Mike Flynn
At 10:43 AM 2/12/2002 -0500, Nicole Amashta wrote: >Not in the least. That is not the same at all. You are referencing the > button. > >I am referencing a hidden field that is set with that value no matter what. Exactly. I learned this the hard way. Don't rely on the submit button at all. IE

Re: [PHP-WIN] im so stupid

2002-02-12 Thread Nicole Amashta
7280$311f49d1@VAIO... Hm, isn't that the same I said yestreday (you don't need set value for action): Afan - Original Message - From: Nicole Amashta To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 10:34 AM Subject: Re: [PHP-WIN] im so stupid AHA! That is i

Re: [PHP-WIN] im so stupid

2002-02-12 Thread Nicole Amashta
So, do not rely on BUTTONS as variables in scripts since browsers are FUNKY and button variables don't always get set as they should. Use hidden variables. If you have different buttons doing different things, such as (delete, submit, open, etc.), then make each button call a javascript to set the

Re: [PHP-WIN] im so stupid

2002-02-12 Thread Afan Pasalic
Hm, isn't that the same I said yestreday (you don't need set value for action): Afan - Original Message - From: Nicole Amashta To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 10:34 AM Subject: Re: [PHP-WIN] im so stupid AHA! That is it, and I've

Re: [PHP-WIN] im so stupid

2002-02-12 Thread Nicole Amashta
AHA! That is it, and I've encountere this before. OK, actually $submit should be set. But do this instead: add a hidden tag to the form as such: = Fornavn: Etternavn: = Then, in your php script, do this: if ( $action == "submit" ) { ## do the

Re: [PHP-WIN] im so stupid

2002-02-12 Thread Nicole Amashta
Chris, Did you fix your error_reporting level in your php.ini as I suggested? Nicole Amashta www.aeontrek.com "Chris" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Well. this is what shows up... > > bruker: > passord: > PHP Warning: Undefined variable: br

Re: [PHP-WIN] im so stupid

2002-02-12 Thread George Pitcher
Chris, You've narrowed down the problem to your php configuration, I guess. I pasted your form into 'http://146.176.13.99/heronweb/chris.html' and the response is fine on my server (ie my laptop). I am using PHP 4.1.1 on Win 2000Pro with Apache and I installed the isapi rather than the cgi vers

Re: [PHP-WIN] im so stupid

2002-02-12 Thread chris
Well. this is what shows up... bruker: passord: PHP Warning: Undefined variable: bruker in c:\inetpub\wwwroot\testsite\registrer.php on line 2 PHP Warning: Undefined variable: passord in c:\inetpub\wwwroot\testsite\registrer.php on line 3 and this is all i have on the page : '; echo 'Etternav

Re: [PHP-WIN] im so stupid

2002-02-12 Thread George Pitcher
Chris, If you are concerned that your variables aren't being read and then processed, chek them first and forget the db side for now. On your response page, just have the following: '; echo 'Etternavn: ' . $etternavn . ''; ?> If you get your variable data being displayed as you entered it then

Re: [PHP-WIN] im so stupid

2002-02-12 Thread chris
Well i tried this and it only tells me that my values are undefined variables It seems like the register.php is not receiving the info from register.html??? i have checked 1000 times to make sure that the register.html has the right action and there are no "typo's" whats going on... ??? "Tod