spewn
Programmer
- May 7, 2001
- 1,034
hello!
i'm just getting used to php...
here's my string:
$string='TEST|123,TEST|487,TEST|309';
and i'd like the output to be:
Code:
<tr>
<td>TEST</td>
<td>123</td>
</tr>
<tr>
<td>TEST</td>
<td>487</td>
</tr>
<tr>
<td>TEST</td>
<td>309</td>
</tr>
i'm sure it's a simple split, foreach loop, but i'm having a time with the syntax.
thanks in advance!
- g