Hi, I need to keep the results of a search as a variable to send it by email.
The code for the web page is:
<?php do { ?>
<p><?php echo $row_Recordset1['id']; ?><br>
<?php echo $row_Recordset1['identificador']; ?><br>
<?php echo $row_Recordset1['tipo']; ?><br>
<?php echo $row_Recordset1['descripcion_c']; ?> </p>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
I have not idea how to do it, I tried as:
<?php $resultado = " do {
$row_Recordset1['id'];
$row_Recordset1['identificador'];
$row_Recordset1['tipo'];
$row_Recordset1['descripcion_c'];
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>"
But nothing.
Any suggestions?
Thanks a lot.
Miguel Mendez.