ayzee> What is happening there is the initial loop is pulling info (posts) out of the posts table, and inside that loop,
the code is finding the userid of the poster and pulling info about the poster out of the members database.
Dump for the posts and members tables:
CREATE TABLE posts (
pid bigint(20) NOT NULL auto_increment,
author_id int(10) default NULL,
author_name varchar(32) default NULL,
post_date int(10) default NULL,
post text,
thread_id bigint(20) default NULL,
PRIMARY KEY (pid)
) TYPE=MyISAM;
CREATE TABLE members (
id int(10) NOT NULL auto_increment,
username varchar(32) default NULL,
password varchar(32) default NULL,
mgroup tinyint(2) default NULL,
email varchar(60) default NULL,
joined varchar(15) default NULL,
avatar varchar(128) default NULL,
num_posts mediumint(7) default NULL,
location varchar(128) default NULL,
signature text,
title varchar(64) default NULL,
new_pass varchar(32) default NULL,
PRIMARY KEY (id),
UNIQUE KEY index_name (username)
) TYPE=MyISAM;
There is also another table called threads that gets used.