PHP and MySQL

PHP Colour Format Conversion

Allows the setting of getting of colour in various formats: RGB, HSL, CMY and CMYK. The colour is stored as an RGB array. Since RGB to HSL and HSL to RGB conversion is quite heavy it might be better if you also stored the HSL value if it is going to be called frequently. However, […]

Share

Posted in PHP and MySQL | No Comments »

Backing Up A MySQL Database With PHP Using MySQLi

I needed to download a database as SQL and thought ‘why re-invent the wheel?’ However I could not find any snippets that use MySQLi rather than MySQL. Also some of the coding was a bit bizarre to say the least leaving me thinking ‘how long did they play about with that before they got it […]

Share

Posted in PHP and MySQL | 9 Comments »

Subscribe