SelectedID=$data['id']
Posted: 2022-02-01 15:52
Hello
I am a beginner...and I advance empirically..
Why is this not working? thank you !
I'm talking about
I am a beginner...and I advance empirically..
Why is this not working? thank you !
I'm talking about
et SelectedID=$data['id']href="http://www.xxxxxxxxx.org/xxxxxxxxx/INFO ... edID=$data['id']>TABLEAU des informations</a>
* send an email notification when a new order is placed CREATION : fiche nouvelle envoyée à xxxxxxxx tous*/
ob_start(); ?>
<h3>Important : Nouvelle information pour vous</h3>
<hr>
<table>
<tr><td><b>NUMERO ID</b></td><td><?php echo $data['id']; ?></td></tr>
<tr><td><b>TITRE</b></td><td><?php echo sqlValue("select TITRE from INFORMATIONS_ADMINISTRATIVES where id='" . makeSafe($data['id']) . "'"); ?></td></tr>
<p>Veuillez vous connecter à l'application pour visualiser cette information <a href="http://www.xxxxx-xxxxx.org/xxxxxxx/INFO ... p">TABLEAU des informations</a><br/>
<p>Veuillez vous connecter à l'application pour visualiser cette information <a href="http://www.xxxxxxxxx.org/xxxxxxxxx/INFO ... edID=$data['id']>TABLEAU des informations</a><br/>
</table>
<?php
$mail_body = ob_get_contents();
ob_end_clean();
//$customer_email = sqlValue("select email from customers where CustomerID='" . makeSafe($data['CustomerID']) . "'");
mail(
'[email protected]',
'Nouvelle information sur INTRANET : ' . $data['TITRE'],
$mail_body,
"From: [email protected]\r\n" .
"MIME-Version: 1.0\r\n" .
"Content-type: text/html; charset=iso-8859-1\r\n"
);