Sounds like you might have some problems in your php code. There are always two ways to do things. One would be to bring the data accross, and manipulate it in php. The other is to manipulate it...