For example you could have a form like:
Code:
<form action="edit.php" method="post">
<textarea cols="50" rows="4" name="resume"></textarea>
<input type="submit">
</form>
Which, when submitted will take you to a page called edit.php. On edit.php, you could have something like:
Code:
<form action="thankyou.php">
<textarea><?php echo $_POST['resume']; ?></textarea>
<input type="submit" name="submit">
<?php
$con = mysql_connect('localhost', 'user', 'pass') or die(mysql_error());
$db = mysql_select_db('dbname', $con) or die(mysql_error());
if(isset($_POST['submit'])){
$resume = $_POST['resume'];
$SQL = "INSERT INTO table1 VALUE('$resume')";
$result = mysql_query($SQL) or die(mysql_error());
}
?>
Which then submits the the resume to a database.
Bookmarks