Parsing issue
Posted: Mon Nov 15, 2010 1:35 am
Hello there,
I am trying to parse some data to create an HTML select control, but am not really too familiar with PHP - can anyone help me out...
Here is a sample of the data...
[{"name":"","value":1,"target":null},{"name":"Bedfordshire","value":2,"target":null},{"name":"Berkshire","value":3,"target":null},{"name":"Buckinghamshire","value":4,"target":null}]
So basically my PHP script needs to echo out the options for my select control.
Many thanks,
Len
I am trying to parse some data to create an HTML select control, but am not really too familiar with PHP - can anyone help me out...
Here is a sample of the data...
[{"name":"","value":1,"target":null},{"name":"Bedfordshire","value":2,"target":null},{"name":"Berkshire","value":3,"target":null},{"name":"Buckinghamshire","value":4,"target":null}]
So basically my PHP script needs to echo out the options for my select control.
Many thanks,
Len