p_split help in string?
<pre><code>&lt;?PHP 
SMARTTAG('&lt;PHP:DataSource ID="DataSource1" CommandText="SELECT * FROM login" Adapter="Adapter1"&gt;&lt;/PHP:DataSource&gt;');
?&gt;
</code></pre>

<p>how to use p_split or other function that result </p>

<pre><code>type=DataSource
attr=ID="DataSource1"
attr=CommandText="SELECT * FROM login"
attr=Adapter="Adapter1"
</code></pre>

<p>i try </p>

<pre><code>function SplitTag($xstring) {
  $xsplit = array();
  $xsplit = preg_split("/\s+/", $xstring);
  print_r($xsplit);
}
</code></pre>

<p>but not work for attr=CommandText="SELECT * FROM login"</p>
