Re: forms problem

From: Date: Thu, 04 Jun 2009 13:22:13 +0000
Subject: Re: forms problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-293597@lists.php.net to get a copy of this message
PJ wrote:
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?
Always W3C validate html and CSS . Use Firefox's "Web Developer" extension. It's super. It would have shown you the problems in minutes, see the "forms" selections. I also use the "HTML Validator" extension. Leave it active and as you develop and test your resultant html code, it'll check your pages on the fly. When you see the red circle, with a cross, click the circle and get an error report in detail.

« previous php.general (#293597) next »