Select

Here is how to use mySQLi, connect to the db and display a single record from database.

{ 0 comments }

If you have to create a date object of future or past, you can do it by using the second parameter of PHP date function. This is extremely useful when doing BETWEEN comparison in MySQL. You can build the date and bind it to query.

{ 1 comment }