422,952 Members | 2,244 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 422,952 IT Pros & Developers. It's quick & easy.

change password

P: 14
how do i add a change password code to my login form?


Expand|Select|Wrap|Line Numbers
  1. <html>
  2.     <head>
  3.     <meta id="_moz_html_fragment">
  4.     </head>
  5.     <body style="background-image:url(ocean5.jpeg)">
  6.     <div style="text-align: center;"><br>
  7.     <br>
  8.     <br>
  9.     <br>
  10.     <big><big>LETTER&nbsp; HEAD SYSTEM<br>
  11.     <br>
  12.     <br>
  13.     </big></big>
  14.     <form method="post" action="login.php">
  15.     <center>
  16.     <table width="30%">
  17.     <tbody>
  18.     <tr>
  19.     <td style="text-align: left;">USERNAME<br>
  20.     </td>
  21.     <td><input name="username" type="text"><br>
  22.     </td>
  23.     </tr>
  24.     <tr>
  25.     <td style="text-align: left;">PASSWORD<br>
  26.     </td>
  27.     <td><input name="password" type="password"><br>
  28.     </td>
  29.     </tr>
  30.  
  31.     </tbody>
  32.     </table>
  33.     <br>
  34.     <br>
  35.     <form method="post" action="view.php">
  36.     <input value="LOGIN" name="submit" type="submit"><br>
  37.  
  38.     </form>
  39.     </center>
  40.     </form>
  41.     <big><big><br>
  42.     </big></big></div>
  43.     </body>
  44.     </html>
Aug 13 '15 #1
Share this Question
Share on Google+
2 Replies


weboutgateway
P: 23
For as idea you put the change password after the user logged in.

Things to do:
Make a database
Login form
Ensure database connection
Study PHP Script (Preferably you have your books or any other references to learn on how to use PHP scripts).
Aug 14 '15 #2

P: 14
thanks it's done and working
Aug 14 '15 #3

Post your reply

Sign in to post your reply or Sign up for a free account.