andyhartleeds


Member since 09/12/2007

Name: Andrew Hart

Location: Leeds, England

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

9 snippets

5052 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 1126 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 2059 posted 17 years ago by andyhartleeds
For creating forms without using tables, just CSS.
2 1408 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 1285 posted 17 years ago by andyhartleeds
Strip out non-alphanumeric characters. Very useful for use with filenames.
3 1273 posted 17 years ago by andyhartleeds
« Prev 1 Next »