I recently wrote a code for a feedback form in Php, and I have the following problem: after submiting the form, what can i do to go back to the form page?

What is the error? It isn't displaying.

Not entirely sure how you've written this, but assuming your form posts out to a processing page, then you could have this on the page that processes the mail...

(so long as it's declared before the header)

if(mail("to","subject","body","headers")){
@header("Location: form.php") & die();
}

Just as a rough guide.

Hope this helps??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.