Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Contact Post not displaying information Re: Contact Post not displaying information

#125350
__
Participant

> In my text editor, it keeps saying that I have an error on line 38, which is where the if( mail( $to,$subject,$message,$headers ) ){ line is..

What is the error?

**edit**

It should be `$body`, not `$message`. Sorry about that

> if( !empty( $_POST ) )

You have no form element named `message`. After your form is submitted, `$_POST` will contain three indexes: `Name`, `E-mail`, and `comments`.