Parsing a string in PHP
<p>My string is like the following format:</p>

<blockquote>
  <p>$string =
  "name=xxx&amp;id=11&amp;name=yyy&amp;id=12&amp;name=zzz&amp;id=13&amp;name=aaa&amp;id=10";</p>
</blockquote>

<p>I want to split the string like the following:</p>

<blockquote>
  <p>$str[0] = "name=xxx&amp;id=11";</p>
  
  <p>$str[1] = "name=yyy&amp;id=12";</p>
  
  <p>$str[2] = "name=zzz&amp;id=13";</p>
  
  <p>$str[3] = "name=aaa&amp;id=10";</p>
</blockquote>

<p>how can I do this in PHP ?</p>
