adding multiple tables in search -


i have code

if (isset($_session['advs']) && is_array($_session['advs'])) 

{ $searching = true;

if (!empty($_session['advs']['team1']))   {     $wher .= '(';        if (isset($_session['advs']['desc']))       {            $wher .= "(au.description :likedescription) or ";             $asparams[] = array(':likedescription', '%' .  

$system->cleanvars($_session['advs']['team1']) . '%', 'str');

    }       $wher .= "(au.team1 :liketeam1 or au.id = :idteam1)) , ";         $asparams[] = array(':idteam1', intval($_session['advs']['team1']),  

'int');

    $asparams[] = array(':liketeam1', '%' .  

$system->cleanvars($_session['advs']['team1']) . '%', 'str');

} 

how add table called team2


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -