Jump to content

Return value from database column


Recommended Posts

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?

Edited by ovy79ro (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...