I'm trying to get a report dead link script that when people click report, it sends me an email telling me which ID the thing came from.
Does anyone have any idea how to do this?
This is what I tried:
But it didn't work...PHP Code:
<?php
$to = "sean@incka.com.com";
$subject = "DEAD LINK";
$body = "ID . echo $row['id']; . /n NAME . echo $row['name']; .";
if (mail($to, $subject, $body))
{
echo("<p>Message sent!</p>");
}
else
{
echo("<p>Message delivery failed...</p>");
}
?>
Bookmarks