Sorry for earlier but I am new to all this PHP and I really try before having to bother people as I am Sure you be really busy this is the out come I get now
Array ( [ID] => 1 [Name] => Joe [Address1] => High Road [Address2] => [Town] => Antrim [County] => Antrim [Postcode] => BT41 1AF [Phone] => 254697 [Fax] => 123587 [Email] => joe@info.com [Website] => www.joecom [ContactID] => 3 [ContactName] => Mr T Irwin [PersonID] => 1 [ContactEmail] => unknown [ContactNote] =>Manager)
but what I wanted was
[ID] => 1
[Name] => Joe
[Address1] => High Road e.t.c
I assume that this won't be possible to do but Thanks anyway for all your help.