Hi,
I have written (with help from various forms on the internet) an input form that I can use to post data into my MySQL database.
There is nothing fancy about the form, but the area where the user types the text is an iFrame.
When I post the form, I can't get the value, so can't insert it into the database.
Can anyone tell me where I am going wrong? Clearly the iFrame isn't linked to the Form but I don't know how to achieve this.
MY FORM
<form id="InsertArticle" name="InsertArticle" method="POST" action="php.php">
<input name="Article_Title" id="Article_Title" type="text" /><br />
<input name="Aricle_Description" type="text" /><br />
<input type="hidden" name="MM_insert" value="InsertArticle" /><br />
<input type="submit" onClick="Gettext()" />
<input type="button" onClick="dowithtext('Bold')" value="Bold">
<input type="button" onClick="dowithtext('Undo')" value="Undo">
<img src="graphics/undo.gif" onClick="dowithtext('Undo')" />
<img src="graphics/redo.gif" onClick="dowithtext('Redo')" />
<img src="graphics/bold.gif" onClick="dowithtext('bold')" />
<img src="graphics/italic.gif" onClick="dowithtext('italic')" />
<img src="graphics/underline.gif" onClick="dowithtext('underline')" />
<img src="graphics/link.gif" onClick="createURL()" />
<img src="graphics/unlink.gif" onClick="dowithtext('Unlink')" />
<img src="graphics/insertimage.gif" onClick="insertimage()" />
<script language="JavaScript" src="js/jscolor.js"></script>
<!--[if IE]>
<img src="graphics/hv120x69.png" width=20" height=20" />
<![endif]-->
<input onChange="Colour(this.value)" />
<script language="JavaScript"> colorPalette('h', 15, 10); </script>
<img src="graphics/justifyleft.gif" onClick="dowithtext('justifyleft')" />
<img src="graphics/justifycenter.gif" onClick="dowithtext('justifycenter')" />
<img src="graphics/justifyright.gif" onClick="dowithtext('justifyright')" />
<br />
<iframe width="500" height="120" id="Article_Title_Box" name="Article_Title_Box" ></iframe>
</form>
php.php
echo $_POST['Article_Title_Box'] ;
clearly there is no output from the echo otherwise i wouldn't be asking here, help!