Autor | Zpráva | ||
---|---|---|---|
franto Profil * |
čaute potrebujem poradiť s týmto ako dosiahnuť aby to fungovalo ?? ? . Chcem sa opýtať ako dosiahnem to že ked kliknem na tlačidlo prihlásiť aby sa to prihlásilo. A ešte by som potreboval vedieť to že od kial to má brať tie údaje ako meno a heslo a ako to celé rozbehať . Ďakujem
tu je kod <legend>Prihlásenie</legend> <table cellspacing="0" cellpadding="0"> <tr> <td class="f"><span><label for="username">Meno:</label></span></td> <td class="s"><input class="txt" type="text" name="name" id="username" value="" tabindex="1" /></td> </tr> <tr> <td class="a-right"><span><label for="userpassword">Heslo:</label></span></td> <td><input class="txt" type="password" name="pwd" id="userpassword" tabindex="2" /></td> <td><input class="button" type="submit" value="Prihlásiť" title="Prihlásiť sa" tabindex="3" /></td> </tr> </table> |
||
rohl Profil |
#2 · Zasláno: 8. 5. 2009, 11:17:23 · Upravil/a: rohl
Za 1) Formulář bych uzavřel do tagů <form> a </form>
2)Aby to fungovalo budeš potřebovat např. PHP script 3)Méno a heslo se má brát z DB Edit: tady máš příklad (poslední příspěvek ve vláknu. Link |
||
franto Profil * |
čaute už som to upravil ale stále neviem ako to mám rozbehať. Čo je to DB od kial to má brať meno a heslo .
Upravené to vyzerá takto <div class="secondary-column"> <div class="boxM"> <div class="login"> <h3><span>vstup</span> s registráciou </h3> <form action="http://www.elitaspu.wz.cz" method="post"> <fieldset> <legend>Prihlásenie</legend> <table cellspacing="0" cellpadding="0"> <tr> <td class="f"><span><label for="username">Meno:</label></span></td> <td class="s"><input class="txt" type="text" name="name" id="username" value="" tabindex="1" /></td> </tr> <tr> <td class="a-right"><span><label for="userpassword">Heslo:</label></span></td> <td><input class="txt" type="password" name="pwd" id="userpassword" tabindex="2" /></td> <td><input class="button" type="submit" value="Prihlásit" title="Prihlásit sa" tabindex="3" /></td> </tr> </table> <div id="unreadmessages"></div> <table class="reg" cellspacing="0" cellpadding="0"> <tr> </tr> </table> </fieldset> </form> </div> Moderátor Mistr: Tip pro příště - kód vkládej přes tlačítko
![]() |
||
Časová prodleva: 16 let
|
0