I'm trying to add a form button that will take a variable string and insert it into $_POST['message']
, such that when someone presses my 'post this on forum' button it takes them to the new topic page with my variable string already in the message textarea
.
I've been messing with submit_post
and have a form that submits a new post correctly when it's completed, however I don't want it to submit straight away; all I want is for it to load posting.php
with my string already in the message field. Does anyone have any ideas?