- // Connect to server and select databse.
- mysql_connect($host, $username, $password)or die("cannot connect");
- mysql_select_db($db_name)or die("cannot select DB");
-
- $point = mysql_query("SELECT userpoint FROM members WHERE username = '$bsername'") or die(mysql_error());
-
- print " $point";
det skal lige tilføjes at det her er den der henter og udprinter fra databasen
Indlæg senest redigeret d. 17.07.2009 00:13 af Bruger #14510