Hello All,
I am having one email template code as shown below.
<table width="400" border="0">
<tr>
<td><strong>Id</strong></td>
<td><strong>Name</strong></td>
<td><strong>Address</strong></td>
</tr>
<tr>
<td>##ID##</td>
<td>##NAME##</td>
<td>##ADDRESS##</td>
</tr>
</table>
Site administrator manage this.
Now i want php code to dynamic replace ##key## code.
It is simple for one record but here it is in table format. So m not able to clear it.
Once php code runs it check in database and outputs like as below:
<table width="400" border="0">
<tr>
<td><strong>Id</strong></td>
<td><strong>Name</strong></td>
<td><strong>Address</strong></td>
</tr>
<tr>
<td>1</td>
<td>Ria</td>
<td>abc</td>
</tr>
<tr>
<td>2</td>
<td>Tom</td>
<td>mno</td>
</tr>
<tr>
<td>3</td>
<td>John</td>
<td>pqr</td>
</tr>
</table>