Re: Converting an unordered list into JSON

From: Date: Mon, 05 Mar 2012 16:45:46 +0000
Subject: Re: Converting an unordered list into JSON
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-316891@lists.php.net to get a copy of this message
[snip] Difficult to answer without knowing how your data is currently stored. Gimme a var_dump or var_export of your data and I'll be able to give you an answer. -Stuart [/snip] It is an unordered nested list as in the following example - <ul> <li>foo</li> <li>bar <ul> <li>glorp</li> </ul> </li> </ul>

« previous php.general (#316891) next »