Jump to content

Archived

This topic is now archived and is closed to further replies.

poyor7

PHP CLASSES....DB QUERY

Recommended Posts

I've problem on how to use JOIN query in PHP class...currently my coding is querying one table....

var $member_table = "member_log";
var $member_info_table = "member_info";

so my question is what should i add in my existing code..i mean this particular line so that i can query member_info_table(JOIN):

$this->strQuery = " Select a,b ,c, d FROM "
. $this->member_table ."" ;?

The Code:

function search_Log_Query() {

$use_where_stmt = false;

$this->strQuery = " Select a,b ,c, d FROM "
. $this->member_table ."" ;
}

Regards
Poyor7[code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.