houghi
Založený: 18.04.2008
Príspevky: 11
Zaslal: 2009-05-14 11:08
Návrat hore
Odpovedať s citátom
|
I have the following code:
| Kód: |
| 'sql' => 'PMEjoin22.'.$main_column, |
This works perfectly. The output is in the form "1234".
What I would need is to add "997." in front of each of them to get an output of e.g. "997.1234".
I do get errors all the time when I try this. I asume that I must work with CONCAT. Here something that did NOT work:
| Kód: |
| 'sql' => 'CONCAT("997.", \'PMEjoin22.\'.$main_column)', |
I assume this is because of working with join and.or the wrong use of quotes.
What am I doing wrong?
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|