Welcome Guest, Not a member yet? Register   Sign In
getData() -- please explain
#4

[eluser]JPrieto[/eluser]
wow -- now i really feel very dumb

you are so right -- it is not a tag .... it is the name of a function (see below)

well, I guess this experience is part of learning.

uhm ... you are very smart (just as I thought from the start)

Many Thanks


Code:
function getData()
        {
            /* Query the data table for every record and row */
            $query = $this->db->get('data');
            
            if ($query->num_rows() < 0)
            {
                show_error('Database is empty!');
            }
      else
      {
                return $query->result();
            }
        }


Messages In This Thread
getData() -- please explain - by El Forum - 06-03-2009, 01:36 PM
getData() -- please explain - by El Forum - 06-03-2009, 01:41 PM
getData() -- please explain - by El Forum - 06-03-2009, 01:42 PM
getData() -- please explain - by El Forum - 06-03-2009, 01:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB