Jump to content

Edit History

ovy79ro

ovy79ro

Hello,

 

I have query:

 

Quote

$this->content = Db::getInstance()->ExecuteS('SELECT `customer`, `data`, `ora`, count(pagina_curenta) AS numar_pagini, `adresa_ip`, `referinta`, `oras`, `nume_tara`, `cod_tara`, `regiune` FROM '._DB_PREFIX_.'mytable WHERE data BETWEEN "'.$this->from_date.'" AND "'.$this->to_date.'" GROUP BY adresa_ip ORDER BY ora');

I need to display value of 'customer' column but I did not manage how to do that.

This does not work:

$customer = $this->content['customer'];

 

Any help here, please?

ovy79ro

ovy79ro

Hello,

 

I have query:

 

Quote

$this->content = Db::getInstance()->ExecuteS('SELECT `customer`, `data`, `ora`, count(pagina_curenta) AS numar_pagini, `adresa_ip`, `referinta`, `oras`, `nume_tara`, `cod_tara`, `regiune` FROM '._DB_PREFIX_.'visitormonitorwdc WHERE data BETWEEN "'.$this->from_date.'" AND "'.$this->to_date.'" GROUP BY adresa_ip ORDER BY ora');

I need to display value of 'customer' column but I did not manage how to do that.

This does not work:

$customer = $this->content['customer'];

 

Any help here, please?

×
×
  • Create New...