1 Star2 Stars3 Stars4 Stars5 Stars (23 votes, average: 5.00 out of 5)

Lost Password Script AJAX jQuery Bootstrap PHP and MySql

You will need a database. Here is one that you can insert into your phpmyadmin to test the script. The password is just called pass. If you would prefer to do it manually here is the script.

CREATE TABLE `users` (
`id` int(6) UNSIGNED NOT NULL,
`username` varchar(250) NOT NULL,
`email` varchar(250) NOT NULL,
`password` varchar(250) NOT NULL,
`reg_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `username`, `email`, `password`, `reg_date`) VALUES
(1, 'maximus', '[email protected]', 'e22853fb83f8d1e91f2b19381f3a5cdd7f1f4298', '2017-06-11 15:25:17');

You will also need a config.php file to connect you to your database. Here is a config file you can copy and paste. just change the connection details to match your mysql.

Tip: Click on images to make them larger. If you find anything wrong on this page or need further assistance please comment below or contact me. 🙂
<?php
$con = mysqli_connect("localhost","dbusername","dbpass","dbname");
if (mysqli_connect_errno())
 {
 echo "Failed to connect to MySQL: " . mysqli_connect_error();
 }else{
 echo "";
 }
?>

 

 

Subscribe To My YouTube Channel:
Lost Password Script AJAX jQuery Bootstrap PHP and MySql was last modified: June 11th, 2017 by Maximus Mccullough

Please like, share and subscribe.

Advanced Programming Made Easy

I hope you enjoyed the article. If I was able to help you please consider a tip for the content.

One Time Tip

more tips

Reoccuring Tips

Tips

Cool People Share:
Lost Password Script AJAX jQuery Bootstrap PHP and MySql

Pages:Previous 1 2 3 4

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.