Good morning Everyone,

I'm have trouble with a simple HTML Checkbox list. I keep getting *Parse
error*: syntax error, unexpected '>'. I'm sure I'm doing something really
simple and basic wrong I just cannot seem to see what it is, any assistance
is appreciated.


<form method="post" action="";>

$sql = "SELECT * FROM melstatus WHERE custID=$custID ORDER BY

        $q = mysql_query($q)
        or die ("could not execute query.");

    echo " <fieldset>
            <ul style='list-style: none'>\n;

    while($row = mysql_fetch_array($q))
        echo " <li>".$row['melID']."<input type="checkbox"
name="\".$row['melID].\""/input> ";

    echo "</ul></fieldset>


Many Thanks


Reply via email to