andyhartleeds


Member since 09/12/2007

Name: Andrew Hart

Location: Leeds, England

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

9 snippets

3668 profile views

3 Comment(s) Posted

View their favorites

Profile

Achievement

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

andyhartleeds's Recent Snippets



« Prev 1 Next »
0 826 posted 17 years ago by andyhartleeds
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.
12 1416 posted 17 years ago by andyhartleeds
For creating forms without using tables, just CSS.
2 1059 posted 17 years ago by andyhartleeds
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.
1 928 posted 17 years ago by andyhartleeds
Strip out non-alphanumeric characters. Very useful for use with filenames.
3 940 posted 17 years ago by andyhartleeds
« Prev 1 Next »