pozdrowienia.php
[php:1:586f0b6ad2]<?php
<html>
<head>
<body bgcolor="#053765">
<title>Pozdrowanienia</title>
</head>
<?
if ($_post[nick]==admin and $_post[haslo]==admin) {
echo("<input type=['text' name='pseudo'>");
}
?>[/php:1:586f0b6ad2]
I pozdrowienia.html
Kod
<html>
<head>
<body bgcolor="#053765">
<title>Pozdrowanienia</title>
</head>
<table border="0" widtrh="400" align="center"><tr>
<td><font color="white"><div align="right">nick:</div></font></td>
<td><form method="post" action="pozdrowienia.php">
<input type="text" name="nick" size="30"></td></tr>
<tr>
<td><font color="white"><div align="right">hasło:</div></font></td>
<td><input type="text" name="haslo" size="30"></td></tr></table><br>
<div align="center"><input type="submit" value="wejdź"></div>
</html>
</body>
<head>
<body bgcolor="#053765">
<title>Pozdrowanienia</title>
</head>
<table border="0" widtrh="400" align="center"><tr>
<td><font color="white"><div align="right">nick:</div></font></td>
<td><form method="post" action="pozdrowienia.php">
<input type="text" name="nick" size="30"></td></tr>
<tr>
<td><font color="white"><div align="right">hasło:</div></font></td>
<td><input type="text" name="haslo" size="30"></td></tr></table><br>
<div align="center"><input type="submit" value="wejdź"></div>
</html>
</body>
I jak zrobic by po podaniu nicku i hasla admin wyswietlal sie <input type="text" name="pseudo">
Co mam zle prosze o poprawki