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
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.

 MfG, Christian Welzel

  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15

PHPTAL mailing list

Reply via email to