hey thanks for that i got it to work for one, but i actually need it for more than one, this is what i have
echo "Rank: ";
// construct the SQL statement
$query = "SELECT rank FROM user WHERE user='$user'";
// run the query using the SQL statement
$result = mysql_query($query);
// retrieve a row from the result set returned by the query
$row = mysql_fetch_assoc($result);
echo $row['rank'];
echo " | ";
echo "Turns: "
echo $row['turns'];
echo " | ";
echo "Credits: "
echo $row['credits'];
echo " | ";
echo "Holding Cell: "
echo $row['bankcredits'];
echo " | ";
echo "Messages: "
echo $row['messages'];
but its erroring on the bold line with
Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /home/thephoen/public_html/Serenity/main.php on line 74
do the results clear or something?