Jump to content
Latest News: (loading..)

Recommended Posts

I've been building some new interfaces on my shop, and have realized that I would like to use mysqli_fetch_all, so I added it into my database.php.  It might be a useful function to have in osC.  Just a proposal.

  function tep_db_fetch_all($db_query) {
    return mysqli_fetch_all($db_query, MYSQLI_ASSOC);
  }

A little knowledge of php goes a long way.

Share this post


Link to post
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

×