What is the best way to create a PHP array with HTML values in it? I need to be able to encode it to JSON and decode it successfully.
Ex: My PHP array looks like this:
Array
(
[0] => Array
(
[Name] => <a href="http://gotourl.com?user=john+vz">john</a>
[Sex] => M
)
[1] => Array
(
[Name] => <a href="http://gotourl.com?user=sue+hp">sue</a>
[sex] => F
)
)