| Share this post! | Vote this! |
|
This tutorial will help you as a beginner to create a
simple login page for your php projects, in this tutorial you will
learn about sessions in php, inserting and retrieving records from mysql
server.
The database table:
Before writing the code create this table in your server by running the text file attached with mysql console or simply create it yourself, we will use it to store the users information
The database table:
Before writing the code create this table in your server by running the text file attached with mysql console or simply create it yourself, we will use it to store the users information
CREATE TABLE `test`.`users` ( `id` INT NOT NULL auto_increment , `name` VARCHAR( 20 ) NOT NULL , `password` VARCHAR( 20 ) NOT NULL , `email` VARCHAR( 20 ) NOT NULL , PRIMARY KEY ( `id` ) ) more...




0 comments:
Post a Comment