andyhartleeds


Member since 09/12/2007

Name: Andrew Hart

Location: Leeds, England

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

9 snippets

3515 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 804 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 1389 posted 17 years ago by andyhartleeds
For creating forms without using tables, just CSS.
2 1023 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 897 posted 17 years ago by andyhartleeds
Strip out non-alphanumeric characters. Very useful for use with filenames.
3 906 posted 17 years ago by andyhartleeds
« Prev 1 Next »