Ok having problems, my code on the html part is
<html><form action="http://www.cuttingedgestudios.com/newsletter.php" method="post">
<span class="pagedef">Sign up here for the Bound To Change newsletter. This will let you stay up to
date on the current happenings in the Bound To Change World! So stay connected, sign up.</span>
<input size="15" value="E-mail Address" name="address" />
<input type="submit" value="Join" />
</form></html>
and my code in the php file is
<php><?php
$address = $_POST["address"];
if(isset($_POST['submit'])) {
mail(cnkrsdyj@cuttingedgestudios.com, $address);
}
?></php>
ANd when i tested it out, it says Parse error: parse error in /var/www/html/newsletter.php on line 6 ? Please help.
|