RedBullet
Založený: 02.12.2010
Príspevky: 7
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)
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
|
|
|