If $this->username is a simple text field then the following should work
$converge_info = $this->query("select m.member_id, m.member_group_id, m.email,
m.members_pass_hash, m.members_pass_salt, field_1 as chapter from ibf_members m
join ibf_pfields_content pf on pf.member_id = m.member_id
where name = '$this->username' ");
Remember to check that $this->username is escaped
http://www.php.net/mysql_r
Main Topics
Browse All Topics





by: leakim971Posted on 2009-10-30 at 14:56:29ID: 25707079
Hello DancingFighterG,
Do you have "name" and "field_1" fields in the table ?
Try :
Select allOpen in new window