I have this code
<table width=100% border="5" align="center" cellpadding="0" cellspacing="1">
<tr>
<th width=12% align="center" scope="col">nombre</th>
</tr>
<tr>
<?php $customers = "select * from x where nombre <> ''";
while ($customers) {?>
<th align="center" scope="col"><?php echo $customers['nombre']; ?></th>
<?php } ?>
</tr>
</table>
is a query to be displayed on a screen, it is in php, I can do a mailto
and the result shown in this screen copy it in Body
=
Example:
<A HREF="mailto:[email protected]?Subject=ejemplo&Body=prin%20te%20la%20tabla">Enviar Correo</A>
where the &Body=
is the result of the aforementioned query?
I need to click on SEND MAIL copy the result of the query in body
, I do not know if I need to add a java function or something that can read php and convert it into text with the spaces using %20