- Автор темы
- #1
Я попытался добавить <br>, но он не работает.
Я попробовал:
CONCAT(c.`firstname`, \' \', c.`lastname`, "\n" c.`email`)
CONCAT(c.`firstname`, \' \', c.`lastname` SEPARATOR \'<br>\' c.`email`)
CONCAT(c.`firstname`, \' \', c.`lastname` SEPARATOR \''. "$foo" .'\', c.`email`)
Sintax error
Я попробовал:
CONCAT(c.`firstname`, \' \', c.`lastname`, "\n" c.`email`)
CONCAT(c.`firstname`, \' \', c.`lastname` SEPARATOR \'<br>\' c.`email`)
CONCAT(c.`firstname`, \' \', c.`lastname` SEPARATOR \''. "$foo" .'\', c.`email`)
Sintax error
echo str_replace(' ', PHP_EOL, $foo);
CONCAT(c.`firstname`, \' \', c.`lastname`, ' ' c.`email`)
class AdminOrdersControllerCore extends AdminController
{
public $toolbar_title;
protected $statuses_array = array();
public function __construct()
{
$this->bootstrap = true;
$this->table = 'order';
$this->className = 'Order';
$this->lang = false;
$this->addRowAction('view');
$this->explicitSelect = true;
$this->allow_export = true;
$this->deleted = false;
parent::__construct();
$this->_select = '
a.reference,
a.id_currency,
a.id_order AS id_pdf,
CONCAT(c.`firstname`, \' \', c.`lastname`, "\n" c.`email`) AS `customer`,
IF(a.valid, 1, 0) badge_success';