zero-perfoliate
zero-perfoliate
Home
Help
Search
Calendar
Login
Register
HTML5 & Friends
»
Programming Help On Specific Projects
»
SQL Scripts and Tips
»
Mysql
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Mysql (Read 560 times)
larrywcc
New PHP Members
Posts: 1
Karma: +0/-0
Mysql
«
on:
December 26, 2010, 04:07:04 PM »
When I update a table from php if the table be updated has ' in the words I get an error. If taken out it works fine. How do I fix this so it writes it with the ' with the words ?
Logged
cwarcarblue11
PHP Problem Solvers
Posts: 112
Karma: +1/-0
Re: Mysql
«
Reply #1 on:
December 31, 2010, 09:54:59 AM »
Use mysql_real_escape_string($text)
Logged
http://c2ccoding.com
Print
Pages: [
1
]
Go Up
« previous
next »
HTML5 & Friends
»
Programming Help On Specific Projects
»
SQL Scripts and Tips
»
Mysql
zero-perfoliate