mail listing
Posted: Sun Feb 05, 2012 1:53 pm
hi everybody could you plase say whats wrong whth this code i am getting tthis message
Parse error: syntax error, unexpected '>' in C:\wamp\www\mail\index.php on line 13
<?php
require('Connect.php');
echo "<h1>Mailing List</h1>";
$get=mysql_query("select * from mailinglist where send='1'");
$namecount=0;
$mailcount=0;
echo "<form action='send.php' method='get'>";
while($getrow=mysql_fetch_assoc($get))
{
echo "<input type='checkbox' name='mail_".$mailcount++."' value='".$getrow['email']."'CHECKED<BR>".$getrow['firstname']." ".$getrow['lastname']."<br>"; >";
}
echo "</form>";
?>
Parse error: syntax error, unexpected '>' in C:\wamp\www\mail\index.php on line 13
<?php
require('Connect.php');
echo "<h1>Mailing List</h1>";
$get=mysql_query("select * from mailinglist where send='1'");
$namecount=0;
$mailcount=0;
echo "<form action='send.php' method='get'>";
while($getrow=mysql_fetch_assoc($get))
{
echo "<input type='checkbox' name='mail_".$mailcount++."' value='".$getrow['email']."'CHECKED<BR>".$getrow['firstname']." ".$getrow['lastname']."<br>"; >";
}
echo "</form>";
?>