incka
01-23-2005, 04:56 AM
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:
<?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>");
}
?>
But it didn't work...
Does anyone have any idea how to do this?
This is what I tried:
<?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>");
}
?>
But it didn't work...