andyhartleeds


Member since 09/12/2007

Name: Andrew Hart

Location: Leeds, England

Website: http://www.twitter.com/andyhart

9 snippets

22 profile views

3 Comment(s) Posted

View their favorites

Profile

All time reputation: 46

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

andyhartleeds's Recent Snippets



« Prev 1 Next »
  1. FAV

    Fetch $_GET array as a string representation

    PHP 6 views posted 9 years ago andyhartleeds
  2. FAV

    How to Resize an Image Using PHP - Image Resizing Script

    PHP saved by 36 people 20 views posted 11 years ago andyhartleeds
  3. FAV

    Code Cache Prevention Code

    HTML 6 views posted 12 years ago andyhartleeds
  4. FAV

    Ordering multiple SELECT statements in a UNION

    SQL 6 views posted 12 years ago andyhartleeds
  5. FAV

    MySQL Mass Text/String Replace

    SQL saved by 36 people 11 views posted 12 years ago andyhartleeds
  6. FAV

    How to check if a number is odd or even

    How to check if a number is odd or even in PHP. Could also use the MOD (%) function, but apparently this method is better performance-wise.
    PHP saved by 48 people 23 views posted 12 years ago andyhartleeds
  7. FAV

    CSS tableless forms using labels and spans

    For creating forms without using tables, just CSS.
    CSS saved by 8 people 12 views posted 12 years ago andyhartleeds
  8. FAV

    JS autosave function handler

    A way to call a function before the window is unloaded/refreshed/etc. Used in the first E-shot Management System. Useful for auto-saving data/content before the window is closed or refreshed.
    JavaScript saved by 1 person 7 views posted 12 years ago andyhartleeds
  9. FAV

    Regular expressions filename replace

    Strip out non-alphanumeric characters. Very useful for use with filenames.
    PHP saved by 3 people 7 views posted 12 years ago andyhartleeds
« Prev 1 Next »