Hi all am a couple of hours f**ing with this script and get it done, it should send an email notification to me & have the user ID there, how do I do this?
[php]<?php $valuecredits = $account[‘credits’];
if ( $valuecredits >= “10” ) {
echo “
”;
$to = ‘info@…com’;
$subject = ‘subject mail’;
$body = ’ echo $account[‘customers_id’]; got … ! mail’;
if (mail($to, $subject, $body)) {
echo('
your request has been sent!
');} else {
echo(‘
Message delivery failed…
’);}
}
?>[/php]This does not work