Jump to content

Lostnode

Members
  • Posts

    77
  • Joined

  • Last visited

Everything posted by Lostnode

  1. Hello all. I am using a premade login script which has some very powerful function built in, the one I am looking at using is as follows: /** * query - Performs the given query on the database and * returns the result, which may be false, true or a * resource identifier. */ function query($query){ return mysqli_query( $this->connection, $query); } The issue is, displaying the results. I call is via the following code: $database->query('SELECT LastName, Firstname FROM Patrons WHERE LastName = "Delude"'); But I have no idea how to display it. I have attempted to echo it out, but I get the following error in the logs:
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.