I am a web designer and I have created a website for which the backend programing was done by a developer who is away on vacation. On the website we have a registration form which is filled out by visitors who want to get their name added to a directory on the website. The form has different categories for the directory listing and the visitor can choose one of them. When the form is filled out the info is added to a database and two emails are sent out. One of them is to the administrator telling him that a new visitor has filled in the form and a thank you email to the visitor. An admin area has also been created where the administrator can manage the application forms. When he logs in he sees the name of the new contractors and a manage button in front of each. On clicking the manage button he is taken to the page where all the info about the visitor is stored. It is the same form which was filled out on the website with all the fields filled in. Here he can click a button to approve the visitor for the directory listing. When he clicks the approve button the name of the visitor is added (via [url removed, login to view]) to the correct category on the website. The listing in the directory is done in a random order. At the same time an email is sent to the visitor informing his that his submission has been accepted and that his name has been added to the directory. There is an error in the script. It writes to the [url removed, login to view] as soon as the form is filled on the website and the info is stored in the database. The name of the new contractor is to be added to the directory only when the "approve" button is clicked in the admin area. But this is not happening, the name is getting added to the directory as soon as the form is filled out. Please bid only if you understand what is to be done. The script is working fine in all other aspects and I don't want it to get messed up. Please give the time frame for correcting this error. Thanks!