Thanks Will – all good now.
I really appreciate your help with those. I was getting a bit stuck!
Conal.
Thanks Will – that has worked!
I have one more that is doing the same thing but apparently for a different reason?
function isIP($ip1) {return(preg_match('/\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.'.'(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.'.'(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.'.'(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b/',$ip1));}