Please..
Can you give some scripts to me??
Is that I'm a student here in Brazil and I need this...
thank you very much..
Steve Sykes wrote:
I am developing a site which uses php3 and mysql to allow the user to update
their site.
I am having trouble with the ' character in varchar and text column types. I know WHAT the problem is- I just need to know HOW to get it so the user doesn't have to 'escape' the character. I've looked at the documentation, and asked various people but none of their suggestions seem to work...
The workaround I am having to use is that the form which the user fills in has a note on it which
states:
Note: Database uses the ' character as a 'special character' When using ' character, either use \ before it or use two ' characters... e.g:
Jep's is wrong
Jep''s is right
Jep\'s is right
- hardly very satisfactory!
The relevant bits of code are- In the form:
<input type=text name= event_venue size=25 maxlength=100>
The sql query:
mysql_query ("insert into events (event_venue, ) Values '$ev....