How can I make a dynamic web page in PHP?

How do I make a general error page using PHP?

  • So I have basic knowledge of PHP, but I was wondering if someone could help me with this. Or at least tell me if it's possible. I have a form on my wesbite. I have a simple validation code in the "form_process.php" that makes sure there is an actual value in each required field. When there isn't, I have: print "<meta http-equiv=\"refresh\" content=\"0;URL=some_error_page.php\">"; This works, and if there is an empty field, it goes to the error page. However, I was wondering if there was a way to set it up so that the error page displays a specific error depending on which field(s) were left empty. Then how would I write the "some_error_page.php" so that it only displays those error messages? In a somewhat unrelated question, is there a way of validating (with PHP) so that the validation error is in a <div> or something beside the corresponding input box?

  • Answer:

    sorry i dont know what your talking about.

Antoine at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.