?php$dbname = 'risenlordmembers';
if (!mysql_connect('localhost', 'root', ''))
{ echo 'Could not connect to mysql'; exit;
}
$query="SELECT * FROM risenlordmembers.people p;";
$result=mysql_query($query);
$row=mysql_fetch_assoc($result);
$ID=$row['member_id'];
$LNAME=$row['lastname'];
$FNAME=$row['firstname'];
$BDAY=$row['birthday'];
$AGE=$row['age'];
echo "MEMBER'S ID ".$ID."
LASTNAME ".$LNAME.",
FIRSTNAME ".$FNAME.",
BIRTHDAY ".$BDAY.",
AGE ".$AGE;
?
No comments:
Post a Comment