Re: forms problem

From: Date: Wed, 03 Jun 2009 23:13:16 +0000
Subject: Re: forms problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-293585@lists.php.net to get a copy of this message
Tom Chubb wrote: > 2009/6/3 PJ <af.gourmet@videotron.ca>: > >> The code: >> ...snip >> <div id="loginbox"> >> <form name="login" method="post" action="<? echo >> $_SERVER['PHP_SELF'] ?>"> >> <h2>acc&egrave;s client <br /><input type="text" >> name="title" value="<? echo $user; ?>" size="10" >> /><br /> >> mot de passe <br /><input type="text" name="title" >> value="<? >> echo $passwd; ?>" size="10" /><br /> >> <input class="submit" name="submit" >> type="submit" >> value=" entrez " /><br /></h2> >> <h2><a href="inscription.php"> Inscription >> </a></h2> >> </form> >> </div >> snip... >> >> PROBLEM 1: On Firefox3, the first input (accès client) does not accept >> any input, does not show the cursor; the second input (mot de passe) >> works fine. >> >> PROBLEM 2: The form does not appear on IE 6 >> >> Running FreeBSD 7.1, apache22, php 5, using sessions, CSS >> >> Am I doing something wrong? >> >> -- >> Hervé Kempf: "Pour sauver la planète, sortez du capitalisme." >> ------------------------------------------------------------- >> Phil Jourdan --- pj@ptahhotep.com >> http://www.ptahhotep.com >> http://www.chiccantine.com/andypantry.php >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> >> > > I think the first problem is because both your inputs are defined as "title". > Does that change anything in the functionanlity? If so, how? Bastien says it works in IE8; here it does not in IE6. :-) -- Hervé Kempf: "Pour sauver la planète, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php

« previous php.general (#293585) next »