I want to be able to edit my data from mysql.
I can add/display/edit/delete the data without a problem except when there is a link in the code.
example:
<a href="someurl">Name of URL</a>
what im having trouble with is when the data is pulled from the database (mysql). when the text is displayed in the form it will fragment. what i mean by this the form will have "<a hre" then the end of the form and then the rest of the text will be on the ouside to where i cant edit it.
what i have is this:
the editing of the information
<form method="post"action="<?php echo $PHP_SELF?>">
<input type="hidden"name="pid"value="<?php echo $myrow["pid"]?>">
cid: <input type="Text"name="cid"value="<?php echo $myrow["cid"]?>"><br>
title: <input type="Text"name="title"value="<?php echo $myrow["title"]?>"><br>
subtitle: <input type="Text"name="subtitle"value="<?php echo $myrow["subtitle"]?>"><br>
active: <input type="Text"name="active"value="<?php echo $myrow["active"]?>"><br>
page_header: <input type="Text"name="page_header"value="<?php echo $myrow["page_header"]?>"><br>
text: <input type="Text"name="text"value="<?php echo $myrow["text"]?>"><br>
page_footer: <input type="Text"name="page_footer"value="<?php echo $myrow["page_footer"]?>"><br>
signature: <input type="Text"name="signature"value="<?php echo $myrow["signature"]?>"><br>
<input type="Submit" name="update" value="Update information"></form>