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 77:

Convert mcrypt Keys in PHP

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

PHP
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

MySQL | PHP
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

Increase phpMyAdmin Upload Size

MySQL | PHP
Detailed steps showing how to modify php.ini so that you can upload bigger files into MySQL through phpMyAdmin. » View Post

Build a Spinning Wheel Loading Screen

This guide shows you how to implement a JavaScript loading spinner. No images required! » View Post

Spell Out Numbers PHP Function

PHP
This PHP function takes numbers (like 11) and turns them into words (like eleven). It handles thousands, millions, billions, and even trillions. » View Post

Fade Out & In Between Pages

CSS | HTML | JavaScript | jQuery | TweenMax
This guide will show you how to transition between pages (either the full page or just a section) with animation while changing the URL. » View Post