stevebravo
Gebruiker
- Lid geworden
- 16 jan 2010
- Berichten
- 156
ik heb deze basic php pagina gemaakt.. die je kunt kopieren en plakken .. waarom laat deze na het indrukken van de button niet een text boven het scherm zien: jaja?
bedankt
test.php
bedankt
test.php
PHP:
<?php
if (isset($_POST["submit"]))
{
$jaja = "jaja";
print $jaja;
}
else
{
print "pauper";
$gebruikersnaam = "";
$wachtwoord = "";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> </title>
</head>
<body>
<form id="login" method="post" action="test.php">
<fieldset>
<label for="gebruikersnaam" ><span>Gebruikersnaam</span>
<input type="text" name="gebruikersnaam" /></label>
<label for="wachtwoord"><span>Wachtwoord</span>
<input type="password" name="wachtwoord" /></label>
</fieldset>
<input type="submit" id="knop" value="Inloggen"/>
</form>
</body>
</html>
Laatst bewerkt: