Follow us on Google+

Must have most useful PHP and JQuery Code Snippets

There are some small yet essentials  block of code snippets that are frequently used when creating websites. Having these code snippets stored always saves times. PHP and jQuery are the most used server and client side web languages and they seem to work well together. That is why we choose to combine them. In this post we have gathered some code snippets that are frequently used in any design projects.

Most of these are just code snippets without any explanation. Therefore, they do require you to have a basic understanding of PHP and jQuery.

PHP

Image Credit

Below you will find some useful codes snippets you will be using over and over in any of your projects.
Set Current Year For Footer Copyright Notice
Check for Valid Email Address
Cascading Dropdown w/ jQuery (JavaScript)
Simply jQuery Script for CSS Drop-Down Menu
Simple “Read More” Snippet
Basic Captcha
PHP Auto Website Title
Count Days Until Date
User Registration Form
PHP Login Script
Displays a Random Image From Images Folder
Quick ‘n Dirty Thumbnails
Creating Images in PHP
Send A HTML Email in PHP
Use PHP To Resize an Images
Current Weather in 3 lines of PHP
Print Table With Client-side Sorting Function
Mini Photo Gallery
Alternating MYSQL Table Row Color
Create TinyUrl
Create bit.ly url
Simple Pagination

Related

Javascript/ JQuery

jQuery is very effective for web designers who does not like too much coding, but want put fancy transition and effects on their websites. Below you will find some JavaScript and jQuery code snippets you will find yourself using frequently:

Javascript: History Go Back
Displaying a Countdown using Javascript
jQuery Simple Style Switcher
jQuery Script for Navigation Image Rollovers
Javascript Visibility Toggle
Email this page
jQuery Field Default Values
Search Bar/ Any Input Default Value ( Inline JS)
Simplest jQuery Accordian
Expand and Shrink Textarea Onfocus/Onblur
jQuery Animated Scroll
Toggle Images in a DIV using JQuery
jQuery Link Background Quick Fade
Share on Facebook
Feed Flickr Photos to Website

Related

Lead Image Credit

If you enjoyed this post, get free updates by email or RSS.

Posted Under: javascript, Tips & Tools

Tagged: , , , ,

Bookmark or Share This Post

  • Bookmark on Delicous
  • Share on Facebook
  • Share on Stumble Upon
  • Tweet This
  • Float it !


Quick Links




Our Supporters