Tag Archives: mysqli

Basic PHP Data Setup

Ideally, when setting up a data-driven PHP site, you should have your configuration and database connection code separate from your code that generates content.  What I want to display is a simple way to keep things separate and simple to work with. I use a config/index/data file structure.  There are ways to further break apart… Read More »

MySQL mysqli

mysqli is a built in part of mysql 4.1. It incorporates all functionality required to interact with a database from your PHP file. It has basics like querying the database, which includes SELECTing data as well as INSERTing data. It also give the ability to use prepared statements, transactions which can be committed or rolled… Read More »