On 5 Mar 2012, at 16:24, Jay Blanchard wrote:

> [snip]
> $json = json_encode($nested_unordered_list); As I said, whether that works or 
> not depends on what type $nested_unordered_list is. If it's not made of 
> standard types you'll need to massage it into a structure using standard 
> types. :D
> [/snip]
> 
> Stewie, Stewie, Stewie..... :)

Bla, Bla, Bla….. :)

> So what you're saying is that I will need to turn the nested unordered list 
> into an array? Because an array would more accurately represent the data.

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

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/

Reply via email to