WMD - How to get the generated\Markdown HTML Code

Griever

New Member
well i got WMD but i am unable to learn how to get the generated HTML\Markdown Code.... i want to send it to the DB... thats why i am using PHP.... \[code\]<script src='http://stackoverflow.com/questions/3616788/wmd.js'></script><form name="formname" method='POST'><textarea id="myTextarea" style="width: 500px; height: 200px;">*This* example sets WMD's options programmatically.</textarea><input type="submit" name="sub" value="http://stackoverflow.com/questions/3616788/submit"></form><!--Preview Can Be Seen Here--><div class="wmd-preview" id="wmd"></div><?phpif( isset( $_POST['sub'] ) ){ $generated_HTML = "How to get it here";}?>\[/code\]now can anyone please tell me how to get the generated HTML...
 
Back
Top