php kode

by test on March 10th, 2010
No notes
Syntax: PHP
Show lines - Hide lines - Show in textbox - Download
<?php 
$dbhost = "localhost";                                  //Used to login to the database online store
$dbname = "online store";
$dbusername = "root";
$dbpassword = "";
 
 
$link = mysql_connect($dbhost, $dbusername, $dbpassword);//Loggs into the database
if (!$link)                                              //If we could not connect to the database
    die('Could not connect: ' . mysql_erro

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS