PHP expression for every number other than selected one
I have a 'clients' page where the info about the particular client comes into a div when that client's logo image is clicked (Ajax).
What I'm wanting to do is change the border property of the clicked image so that it appears selected. Each of the images is assigned an id dynamically ('pic_<?php echo $row_rsClients['client_id']; ?>'), so I can target one image with:
<..... onload="MM_changeProp('pic_<?php echo $row_rsClients['client_id']; ?>','','borderColor','#000','IMG')" />
which works to change that specific logo.
However, I don't know how to switch other ones back to original state when you click on a different logo.
Is there a php expression to target every number OTHER THAN the variable "client_id" ? Then I would be able to turn all other borders off, which I can do manually if the information was static html.
Any suggestions?
Thanks
Mick
