Page 1 of 1

mail listing

Posted: Sun Feb 05, 2012 1:53 pm
by digrev01
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>";

?>

Re: mail listing

Posted: Sun Feb 05, 2012 2:25 pm
by califdon
echo "<input type='checkbox' name='mail_".$mailcount++."' value='".$getrow['email']."'CHECKED<BR>".$getrow['firstname']." ".$getrow['lastname']."<br>"; >";

Re: mail listing

Posted: Sun Feb 05, 2012 3:08 pm
by digrev01
i am sory can you explain more..

Re: mail listing

Posted: Sun Feb 05, 2012 3:12 pm
by califdon
Well, look at what I highlighted in red at the end of that line. That's the syntax error that was reported.

Re: mail listing

Posted: Mon Feb 06, 2012 9:58 am
by digrev01
hi califdon and thanks for replying me .i tried a lot of things also removing the tag you highlighted but everytime anaother errro messages .could you write the right one for me please i am doing axcatly the same thing in that video .by the way .sory my bad english,
http://www.youtube.com/watch?v=bt0JZW6dgdU