andyhartleeds


Member since 09/12/2007

Name: Andrew Hart

Location: Leeds, England

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

9 snippets

2421 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 630 posted 16 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 1092 posted 16 years ago by andyhartleeds
For creating forms without using tables, just CSS.
2 823 posted 16 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 704 posted 16 years ago by andyhartleeds
Strip out non-alphanumeric characters. Very useful for use with filenames.
3 696 posted 16 years ago by andyhartleeds
« Prev 1 Next »