> I'm thinking (hoping) there is already a php class somewhere for > generating JavaScript object strings that I can instead of my ugly > easily breakable way of doing it. > > Anyone know of one? json_encode http://uk3.php.net/manual/en/function.json-encode.php Regards _________________________________________________________________ Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009