I am trying to write to this file here
I when i add it keeps going of the the html tags and the text ends up under </html> and also to to make the question bold just like on that page, and the answer Bold as in the same style as the answers on that page as well. Title is the question and description is the answer.
And also each question has an id , so i want a question to be like <a id="Question33">
Can somebody write me a sample of this please?
Btw this is a snippet i am including in another set of code that supports and recognizes the functions.
<?php $myFile = "questions.htm"; $fh = fopen($myFile, 'a') or die("can't open file"); $stringData = $_POST ['title']; $stringData = $_POST ['description']; fwrite($fh, $stringData); fclose($fh); ?>