Originariamente inviato da satifal
Se non posti anche l'HTML è impossibile risponderti.
Certo
eccolo:
codice:
<!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>Documento senza titolo</title> </head> <body>
Dopo "body" il codice sopra riportato e poi:
codice:
<form id="form1" name="form1" method="post" action="">
User_name :
<input type="text" name="id_box" id="id_box" />
</p>
Password :
<input type="password" name="pass_box" id="pass_box" />
</p>
<input type="submit" name="button" id="button" value="Invia" />
</p>
</form>
</body>
</html>
Comunque vorrei specificare che nella mia risposta precedente ho saltato il "<" che apre il PHP, ma in realtà nel codice C'E'. E c'è anche il require della connessione al db.