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>");
}
?>




Reply With Quote
How did I miss that! That wouldnt cause an error though would it? It would just put 'echo', ';' and '.'s in the email? Unless that was how it 'didn't work'...

Bookmarks