Database Connectivity

Hi!! everybdy…
i m totally new to php.
I hv installed php, mysql thru xampp. I hv created a login form n registration form.

I hv four file

i hv already created database using phpMyAdmin

//Database Information

$dbhost = “localhost”;
$dbname = “data”;
$dbuser = “username”;
$dbpass = “password”;

bt wen i m tryin2 run my html file…n den clicking on submit button it simply opens a dialog box to open or save d php file. Pls help hw cn i add records 2 my database

Sponsor our Newsletter | Privacy Policy | Terms of Service