so im making a site, www.nickscomputing.com
, and i want a points system. Members will be rewarded with points when they write a good article. So i made a new column called points, and a test file to echo the points. Here is that test file:
$con = mysql_connect("localhost","username","*************");
die('Could not connect: ' . mysql_error());
$result = mysql_query("SELECT points FROM smf_members
while($row = mysql_fetch_array($result))
echo $row['memberName'] . " has " . $row['points'];
echo "<br />";
Whats wrong with this? All i get are errors, with and without the @ in front of whe while.
If anyone wants to get first-hand access to the files and wants to help me further, email me and i'll give you ftp access.