Check if MySQLi extension is enabled with PHP

Checking if the MYSQLi extension is installed and enabled is pretty straight forward. We can call the¬†function_exists() on a mysqli function and that will give us true or false, depending on the server, if it’s installed or not.

This can be quickly adapted to other usages, like checking for the GD Library extension or […]

Check if a domain is Registered with PHP

Hi there guys! We are going to look at a very simple php snippet that lets you know if a specific domain is registered / available for purchase or not.You could expand / grow this snippet and make your own website that checks websites domains for availability. To check if a domain is registered or […]

OOP MySQLi : How to use Prepared Statements

Hi there guys ! In the last tutorial we talked about How to connect to your database via MySQLi and today we are going to discuss a very important topic in learning how to handle the new MySQLi.If you didn’t read the first article on MySQLi, I suggest you check it out before. Why use […]

OOP MySQLi : Connect to your database

Why should you use MySQLI ? Firstly, MySQLi stand for: MySQL Improved. Since PHP 5.5.0 old mysql extension is deprecated and will soon be removed.This is the first reason you should use mysqli over mysql. Secondly and what I think it’s the most important and useful feature that mysqli give us is that you can […]

PHP Seconds to Days, Hours, Minutes, Seconds

Hi there guys, today I’m going to give you a little snippet that I found on the web which I find very useful and I thought I should share it with you.This function will require 1 parameter, the number of the seconds you want to transform into Days, Hours, Minutes, Seconds. e.g: 600000 =¬†6 days, […]

Fixing PHPMyAdmin & Database Connection working slow on windows 8

Hi there guys, today I’m going to tell you a little trick on how to fix a problem which many of you coders have with windows 8.I had that problem too and I was very annoyed by the fact that PHP My Admin was working so slow almost 2 seconds delay, which is extremely slow. […]