Jump to content

PHP CLASSES....DB QUERY


poyor7

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]
Link to comment
https://forums.phpfreaks.com/topic/10309-php-classesdb-query/
Share on other sites

Archived

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

×
×
  • Create New...

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.