writing quotes to database

  • Thread starter Thread starter Netfreaky
  • Start date Start date
N

Netfreaky

When you type a quote in a name for example, the database is returning
an error...
Now i only check the name field and replace every quote to \'

Is there a simple thing to replace all special characters with
something that can be inserted into a database?

I'm using asp.net with VB, and a MySQL database (using SQL server also
gives errors)
 
Back
Top