My plan was to have one textarea at the top where you could type whatever you want and post it, then the two textarea's below it would update. But I have no idea how to do this, please help!
<?php
    if ($_POST['submit']) {
        mysql_connect ("10.246.16.206", "alanay_eu", "hidden")
        or die ('Error: ' . mysql_error());
        mysql_select_db("alanay_eu") or die ('Data error:' . mysql_error());
        $post = mysql_real_escape_string($_POST['post']); 
        $query="INSERT INTO Posts (post) VALUES ('$post')";
        mysql_query($query) or die ('Error updating database' . mysql_error());
    }
?>
<center>
  <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
      <textarea name="post" rows="12" cols="60" spellcheck="false">
      Example Comment</textarea> <br/>
      <input name="submit" type="submit" value="submit" /> <br/>
      <textarea rows="12" cols="60" spellcheck="false"></textarea> <br/>
      <textarea rows="12" cols="60" spellcheck="false"></textarea>
  </form>
</center>
 
     
    