Today I bring you an example of almost any type of form data to textfile representation in php.  The following code had id tags that can allow for easy cascade styling into whatever you believe is appropriate.

Remeber this is just an example and is not men to be used exclusively as a production forum or anything.   To make this a forum script, just change the $databoard to something like $databoard = ‘thread’.rand(1,99999);    Then just copy this everywhere you want to make a thread/forum.  You can just slap some graphics on it and you have a guestbook.

There is rudimentray error handling as well.  I hope you like it.


Posted on '.date('m-d-y').'
'.$name.'
'.$comments.'