Put in an array...
Posted: Tue Jun 30, 2009 12:56 am
Hi everyone!!!!
Given this variable with this value:
how can I put the ones in blue [inside a <td>....</td>] in an array....???
so that array[0] contains the <span onmouseover="_tipon(this)" onmouseout="_tipoff()">
<span class="google-src-text" style="direction: ltr; text-align: left">
1236791960OSDR
</span>
1236791960OSDR
</span>
and array[1] contains <span onmouseover="_tipon(this)" onmouseout="_tipoff()">
<span class="google-src-text" style="direction: ltr; text-align: left">
Super Administrator
</span>
Super Administrateur
</span> ....
Given this variable with this value:
Code: Select all
$variable = '
<table>
<tr>
<td>
<span onmouseover="_tipon(this)" onmouseout="_tipoff()">
<span class="google-src-text" style="direction: ltr; text-align: left">
1236791960OSDR
</span>
1236791960OSDR
</span>
</td>
<td>
<span onmouseover="_tipon(this)" onmouseout="_tipoff()">
<span class="google-src-text" style="direction: ltr; text-align: left">
Super Administrator
</span>
Super Administrateur
</span>
</td>
</tr>
</table>';
how can I put the ones in blue [inside a <td>....</td>] in an array....???
so that array[0] contains the <span onmouseover="_tipon(this)" onmouseout="_tipoff()">
<span class="google-src-text" style="direction: ltr; text-align: left">
1236791960OSDR
</span>
1236791960OSDR
</span>
and array[1] contains <span onmouseover="_tipon(this)" onmouseout="_tipoff()">
<span class="google-src-text" style="direction: ltr; text-align: left">
Super Administrator
</span>
Super Administrateur
</span> ....