Jump to content

Adding Sysmbols to database


dcole.ath.cx

Recommended Posts

When I have things like +, =, and ' in the data I insert into my MySQL Data Base Table it doesn't work. How can I fix this?If this isn't a problem for MySQL, it could be some where when I'm extracting the data. PHP fetches the data in the database, then sends it through AJAX to the browser.Thanks.

Link to comment
Share on other sites

Those symbols "work" fine, they do different things depending on the context. A plus operator adds two numbers, obviously the equal operator is for assignment, and a single quote is a string delimiter. If the symbols are inside a string (the quote would need to be escaped) they have no special meaning. If you're having a problem with a query you can post that and we can figure out why it's not doing what you want.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...