![]() ![]() This means that when the form submit button is clicked, all the data in the form will be submitted to the same page (register.php). Open the register.php file and paste the following code in it:įirst is that our form's action attribute is set to register.php. ![]() Open these files up in a text editor of your choice. Inside the folder registration, create the following files: i.e create the folder inside htdocs (if you are using XAMPP server) or inside www (if you are using wampp server). Now create a folder called registration in a directory accessible to our server. `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, Or you can create it on the MySQL prompt using the following SQL script: CREATE TABLE `users` ( You can create this using a MySQL client like PHPMyAdmin. ![]() The users table will take the following four fields. In the registration database, add a table called users. $2 only! □ Complete Blog - HTML, CSS, PHP & MySQLĬreate a database called registration. Download my source code on how to build a complete blog with PHP & MySQL database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |