Originally posted by Namadoor
I am making a program which process and HTML forum, and sends the data to the webmaster's email.
since i have no clue what the rest of your post meant, i'll just stick to this line you said.
first, we create the form but have variables as the values then have the mail() function send it to you from the results of the form. here is an example of what i mean
<?php
$message = 0 ?>
<form>Enter some damn thing to send
<input type="text" name="<?php $message ?>"> <br>
<input type="submit" name="send it to me"></form>
if ($message != 0) {
mail(webmaster@yoursite.com, title of this thing, $message)
}
the message would be text that the user puts into the form and it keeps that as $message. the if $message != 0 thing ensures that it won't send a bunch of blank emails when people don't submit but just visit that page.