0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
1 Posted Topic
Re: You can try this code: <?php // if form was submitted if ($_SERVER["REQUEST_METHOD"] == "POST") { //This gets all the other information from the form $curpassword = mysql_real_escape_string(crypt($_POST["curpassword"])); $newpassword = mysql_real_escape_string(crypt($_POST["newpassword"])); $confirmation = mysql_real_escape_string(crypt($_POST["confirmation"])); // validate submission if(empty($_POST["curpassword"])){ echo nl2br ("You must provide your current password. \n"); }elseif(empty($_POST["newpassword"])){ echo nl2br … |
The End.