Jump to content


Photo

PHP CLASSES....DB QUERY


  • Please log in to reply
1 reply to this topic

#1 poyor7

poyor7
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 24 May 2006 - 02:16 AM

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=auto:0]

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 24 May 2006 - 05:36 AM

?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users