Load smaller image in first with Javascript
How to avoid images popping in after the page has loaded by loading in and displaying a much smaller one first. Credit to FThompson here at StackOverflow. I edited it…
How to avoid images popping in after the page has loaded by loading in and displaying a much smaller one first. Credit to FThompson here at StackOverflow. I edited it…
The ever common PHP MySQL database connection file, mostly named something like dbconnection.php or dbcon.php which gets used in a require_once situation whereby you need a connection to the database….
It doesn’t really make a whole lot of sense to begin with, why would you need to change and reset a password if it hasn’t been hacked?! The Chief technologist…
HTTP 404 is the response given when you browsers interacted with the servers but no page was found at the location (URL). This is important to know because for SEO…
Here is how to get a GoPro’s image data (EXIF) such as size, settings, configuration and location using PHP and exif_read_data(). I have already covered getting image EXIF data in…
Another easy to do exercise with PHP is getting an image width, height and size. Getting the image width and height in pixels is done with the function getimagesize(). All…
A simple PHP MySQL page system written as a function with code comments. For this example i had the following in the database Simple color names and an id, With…
How to store HTML in a MySQL database, this is done for purposes such as a blog or CMS where dynamic pages are generated from a database. The correct MYSQL…
Using @media in CSS allows you to specify styles for a certain viewpoint (width/height). This helps with creating responsive designs if you’re not using a framework such as Bulma or…
Being able to quickly or efficiently get the keys from an array which is most likely an API call is great. You can see what data exists which may not…