<form name="postnewtopic" action="postnewtopic.php" method="post"> <p>Please enter your topic:<br> <input name="TopicName" type="text" size="30" maxlength="30"><br> Plesae type your post:<br> <textarea name="TopicData" cols="90" rows="10"></textarea> </p> <p><br></p> <?php require('db.php'); $result = mysql_query ("SELECT * FROM forum_regions WHERE RegionActive = 0"); while($row = mysql_fetch_array($result)){ $RegionName = $row['RegionName']; $RegionID = $row['RegionID']; echo "<input name=\"$RegionID\" type=\"checkbox\" value=\"1\" />" . $RegionName . "<br />"; } ?> <p><input name="submit" type="button" value="Post my topic!" /></p> </form>
Why will this form not submit?
<p><input name="submit" type="button" value="Post my topic!" /></p>
You have made a button, and not a submit button:
<p><input name="submit" type="SUBMIT" value="Post my topic!" /></p>
I knew it would be simple, to much PHP and i've lost my HTML brain!
THanks