yes here is the html
Code HTML4Strict:
<body>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>">
<fieldset>
<p>Name : <input type="text" name="setname" size="50"></p>
<input type="hidden" name="run" value="true">
<p>Term:<textarea rows="3" name="1a" cols="40"></textarea>
Notes:<textarea rows="3" name="1b" cols="40"></textarea></p>
<p>Term:<textarea rows="3" name="2a" cols="40"></textarea>
Notes:<textarea rows="3" name="2b" cols="40"></textarea></p>
<p><input type="submit" name="addcont" value="Add More"></p>
<p><input type="submit" name="addfin" value="Add and Finish"></p>
</fieldset>
</form>
this is the php now :
PHP Code:
<?php
if (isset($_POST['run']))
{
echo "hello!";
if (isset($_POST['addcont']))
{
echo 'add continue submitted!';
}
}
?>
edit*
thank you kromey, i will add the post method to the form now and run it.
Bookmarks