Here, you'll find chunks of PHP, MySQL, HTML, JavaScript, and Ajax code that we've put together while working through various projects. Hopefully they'll help you out in your coding adventures too. Displaying posts 1 through 10 of 81:

Set Colors of Links Within Bootstrap Alerts

Bootstrap | CSS
Bootstrap's alerts work great, but links within them don't match. This CSS changes that. » View Post

Zoom in on Hover with CSS

Use CSS to zoom in when a user hovers over div or image (and keep it from expanding). » View Post

Responsive Parallax Images

A quick tutorial on creating parallax images that scale down for mobile screens with CSS and jQuery. » View Post

Fade Between Two Backgrounds

CSS | JavaScript | jQuery | TweenMax
Using CSS and JavaScript, fade between two background images. Includes a working example. » View Post

Convert mcrypt Keys in PHP

Fix this error: Warning: mcrypt_decrypt(): Key of size 29 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in file.php on line 30 » View Post

Simple PHP Upload Form

A tested and working form that allows for the user to upload a CSV file. Can be easily modified for other file types. » View Post

Facebook & Twitter Share Customized Text

Facebook | JavaScript | jQuery | Twitter
Use the share dialogs and JavaScript/jQuery to allow users to share content that they generated. » View Post

Load a Variable File Based on Query String with jQuery and Ajax

Ajax | JavaScript | jQuery
This example will show you how to include files based on query string parameters using only client-side scripts. » View Post

CSV to MySQL Queries PHP Function

This function lets you take giant CSV files that are too big for phpMyAdmin and break them up into a manageable size so that they can be processed. » View Post

Log in to MySQL via SSH

Linux | MySQL
How to access your MySQL database from the command line if you're using a shared host. » View Post