Simple PHP project BY me

Here i will try to build up a simple project step by step..........................................................................................................................................................................

Step 1: Create database connection in php & table sign_up

**.................................................................................**
Create database
**.................................................................................**


CREATE TABLE `sign_up` (
`id` int(20) NOT NULL auto_increment,
`userName` varchar(50) NOT NULL,
`userEmail` varchar(50) NOT NULL,
`password` varchar(250) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=12346 ;

**...................................................................................**
connect.php
**...................................................................................**
<?php
mysql_connect("localhost", "root", "") or die ("Cannot connected database");
mysql_select_db("rakhi_database")or die ("Cannot connected db");

?>

1 Response to "Simple PHP project BY me"

  1. Macrosoft says:

    Nice try at php project.

    web design company new jersey

Post a Comment

powered by Blogger | WordPress by Newwpthemes | Converted by BloggerTheme