Tech Thought

Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX

Entries Tagged ‘json’

Sustainable Product Design Online: GreenflyOnline.org

I have been involved in the development of an exciting new tool that has will be officially launched this week at DesignEx in Sydney, Australia.  Greenfly is an online Product Design tool that helps designers determine the environmental impacts of their products.  It produces real-time assessments relating to Global Warming, Energy Use, Water Use and [...]

Leave a Comment

Problem with PHP json_decode() and prototype.js .toJSON() function

I have been tearing my hair out trying to work out why PHP’s json_decode() function wouldn’t convert a JSON string sent via AJAX using the prototype.js .toJSON() function. I was sending the string:
{\”Assembly_ID\”: 1}
However json_decode() in php would return NULL. After some fiddling around, I determined that json_decode() doesn’t like the [...]

Comments (1)