Am Freitag 30 Mai 2008 schrieb Kornel Lesinski: > p_speed = ${php:json_encode(plane_speeds)}
Thanks for your hint to json_encode(). I didn't know this function as i normally try to avoid javascripting (and use jquery)... I reorganised my code and got rid of most of the js code in the template. Now there are only the parts left, that use json_encode() to populate the environment and all is working fine. Thanks! -- MfG, Christian Welzel GPG-Key: http://www.camlann.de/key.asc Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15 _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal