mail listing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
digrev01
Forum Newbie
Posts: 22
Joined: Fri Oct 07, 2011 9:15 am

mail listing

Post 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>";

?>
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: mail listing

Post by califdon »

echo "<input type='checkbox' name='mail_".$mailcount++."' value='".$getrow['email']."'CHECKED<BR>".$getrow['firstname']." ".$getrow['lastname']."<br>"; >";
digrev01
Forum Newbie
Posts: 22
Joined: Fri Oct 07, 2011 9:15 am

Re: mail listing

Post by digrev01 »

i am sory can you explain more..
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: mail listing

Post by califdon »

Well, look at what I highlighted in red at the end of that line. That's the syntax error that was reported.
digrev01
Forum Newbie
Posts: 22
Joined: Fri Oct 07, 2011 9:15 am

Re: mail listing

Post 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
Post Reply