I took this login script and modfied so it has AIM and Yahoo.
I'm trying to make a forum (not a fancy forum)
I did make a memberlist page that lists all the members
but I did it by accident when I was trying to make a profile page.
What do I do to make a profile page?
I took some code from ipb's profile.php and modified it but I get an error on line 26
if ( empty($id) )
{
$std->Error( array( 'LEVEL' => 1, 'MSG' => 'incorrect_use' ) );
}
$query = mysql_query("SELECT * FROM users WHERE id=$id");
$member = $DB->fetch_row();
$member['password'] = '';
$info['aim_name'] = $member['aim_name'] ? $member['aim_name'] : No Information;
$info['icq_number'] = $member['icq_number'] ? $member['icq_number'] : No Information;
$info['yahoo'] = $member['yahoo'] ? $member['yahoo'] : No Information;
$info['location'] = $member['location'] ? $member['location'] : No Information;
$info['mid'] = $member['id'];
}
}
I just copied the php code over, I have html above it.
This is line 26
$info['aim_name'] = $member['aim_name'] ? $member['aim_name'] : No Information;
hopefully someone can help.