Is there a way for a form to both be saved and emailed out when submitted? right now I have <form id="webeoc" name="webeoc" method="POST" action="<?php echo $editFormAction; ?>"> where action="<?php echo $editFormAction; ?>" saves it in the db, but I am unsure how I would get a mailto: script in there as well, any ideas?
Do you know the code for add&email, if so then I can put it in the $editFormAction function. If not, I am unsure of what I'll end up doing.
use the mail function in php if the form is submitted <php> $to = $_POST['email']; $from = ... $headers = .. $body = .... if(mail($to,$from,$headers,$body)) { insert into database.... } </php> just like that
I guess its not as intuitive as I thought it would be, hopefully I'll figure out the correct way to finish up this project. Thanks for everyones help, my not understanding doesn't have anything to do with yall not answering my question.