[eluser]Unknown[/eluser]
I am not getting proper results if I remove & from my code.
function getChildren($parent_id, $tree_string=array())
and calling it using $this->getChildren($val, &$tree_string);
getting an error as follows:
<div solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>A PHP Error was encountered</h4>
<p>Severity: 8192</p>
<p>Message: Call-time pass-by-reference has been deprecated</p>
<p>Filename: controllers/team.php</p>
<p>Line Number: 111</p>
</div>
Because of this message, my json response is being malformed.