andyhartleeds


Member since 09/12/2007

Name: Andrew Hart

Location: Leeds, England

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

9 snippets

467 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 108 posted 12 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 174 posted 12 years ago by andyhartleeds
For creating forms without using tables, just CSS.
2 108 posted 12 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 99 posted 12 years ago by andyhartleeds
Strip out non-alphanumeric characters. Very useful for use with filenames.
3 92 posted 12 years ago by andyhartleeds
« Prev 1 Next »