[php7] send email with recordset fields
Hello all,
I need to reference some recordset fields in a mail SB body.
I'm using php 7.2.
If I add this code at the beginning of the email body (very first row in the file):
<?php
global $conn_registrazione_i, $rs_tipo_pv, $rs_nome_tipo_pv, $rs_nome_punto_vendita, $WA_DFP_UploadStatus
?>
and then I add the recordset refeence in the email body, then, the mail function won't work (the page redirects to the email body file.
It works with php 5.6.
How can I get it to work with php7.2?
TIA
tony