Data Validation - Fix Errors & Validate Data

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
As a result of another Freelancer, my sign-up form appears to malfunctioning and I have no idea how to fix it. It works sometimes and other times it does not work at all. I'm looking for a developer who has worked on projects similar to this before and has a positive rating.

There has been some script kiddies trying to inject malicious SQL injections into the site, the last developer tried to fix this but ended up making the form worse. The URL, IP and description is supposed to protect against these attacks but have caused various errors as a result. Whenever a user enters a new server, there will sometimes be a 500 error thrown and I can't figure it out.

What I want done:

- This form must validate data and tell the user if there is missing data instead of throwing an error
- This form must parse data correctly and put it into the database without error
- This form must protect against XSS/SQL injection attacks

I have attached a screenshot of the form if that's helpful.

Skills required:
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.