Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Nedeľa, 29. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Join table and concat fields?

phpMyEdit Configuration     Join table and concat fields?
Odoslať novú tému   Odpovedať na tému    
 
RedBullet     Založený: 02.12.2010   Príspevky: 7  
Príspevok Zaslal: 2010-12-10 16:55
Návrat hore  Odpovedať s citátom     

I have wo tables that I can join successfully.

But I want to be able to actually do a concat of two fields that are in my joined table.

Any idea how to do that?

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2010-12-11 16:03
Návrat hore  Odpovedať s citátom     

Use the forum's Search feature so search for CONCAT.

Basic usage example follows.

Kód:
$opts['fdd']['dummy1'] = array (
   'input'   => 'R',
   'name'    => 'Whois',
   'sql'     => 'CONCAT("<a href=\"http://whois.domaintools.com/", domain, "\" target=\"_blank\">whois</a>")',
   'options' => 'FL',
   'escape'  => false,
   'sort'    => true
);


 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov