0
Code:
foreach ($controller->ListaDados($objCheck) as $objCheck) { ?>
<table bordercolor="grey" border="1" class="container">
<tbody>
<tr>
<td colspan="2" align="Center"><?php echo $objCheck->getemail(); ?></td>
</tr>
</tbody>
</table>
<?php } ?>
In that echo
is showing the following information.
Bank string:
Prezado Cliente <b><br><br>Pedido: <b>4264136</b>, NF: <b>1448692</b> <br>Pedido: <b>4264138</b>, NF: <b>1448693</b> <br>Pedido: <b>4264140</b>, NF: <b>1448694</b> <br><br>Data: <b>2015-12-08 10:37:49</b> Hora: <b>2015-12-08 10:37:49</b><br><br>Link do comprovante: <br><br><img src='cid:1krrpu5mb4br3'/>
Is there any way to show only the Requests and NF treating this in php and not in the bank ? Why is this all that interests me.
'Cause the column inside the bank has all this information and I didn’t want to touch it.
Put the rest of the code, as it is not like this bringing this, whether it is in a query or whether it is through a foreach. And what would show only orders and NF, would be just a record, or just these fields of your table?
– tkmtts
What I’m showing you is a field, this field has all this information, I wanted to know if there is any way to consult this field and not bring me everything, only the requests and NF. I edited the code.
– KevinF
Unfortunately I could not understand until now how this structured your code/ Bank, if for example the date and link are in the bank, vc must print in your foreach the name of the fields in each TD tag
– tkmtts
But it is not every field, all this above comes from one field only. Date, Nf request link all this above is in one field only. Each information is not in a separate field.
– KevinF
Then complicated, you have to separate snippets of Strings and assemble in a table, would need to check how this saved in the table and so you create some method that takes certain snippets of the code, using a pointer to define where to start and where to stop reading column data.
– tkmtts
The matter was addressed in http://answall.com/questions/129381/filtro-consulta-sql.
– Nelson Aguiar