hi
i have an error when i try tio insert special characters '

insert into lydia(id,resume)values('$ids','$i')
idis int,resume is a varchar

ERROR3:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Degree
please do tell me how to allow user to insert special characters.

Recommended Answers

All 4 Replies

you must set mysql encoding. Check mysql references

i cant get you.can you explain.i'm new to this.

thank you for your reply .it's working..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.