INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

logical error with PHP AND MIMER

logical error with PHP AND MIMER

(OP)
I'm new to this site so I'm not sure if I can get help with this or not. I am a new php programmer and I am working on a project for my department. I have an online form. The user is supposed to enter data, then have the option, of Cancel, Preview, Submit, or Reset. If the user clicks preview, it takes them to another page with a summary. Then the user has the option of Submit or Cancel. When I click Submit from the summary page, the data is not entered into the Database but I don't get any errors either. Can anyone help me out. I will supply parts of the code if offered help. Thanks!

RE: logical error with PHP AND MIMER

Hi

The first thing you should do is to read your php.ini file and check the error reporting parts.
To show all errors, but not notices, make sure that you have the following:
error_reporting  =  E_ALL & ~E_NOTICE
And equally important, make sure that you have:
display_errors = On
If display_errors=Off is set, you will not see the errors in the page. If you don't want this, you can define a log file where the errors is written with:
log_errors = On
error_log = /var/log/httpd/php_error

When this is done, try again and post the error messages here.

Regards,
Fredrik

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close