Posting Data To MYSQL, character problem

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

leebies
New php-forum User
New php-forum User
Posts: 5
Joined: Mon Mar 31, 2003 11:32 am
Contact:

Posting Data To MYSQL, character problem

Postby leebies » Mon Mar 31, 2003 11:37 am

I am trying to post data into a database but when I input a word with a ' in it (ie. don't) I get a faliure.

I need someway of making a \ appear before the characters, and a way to hide them when data is shown. To see the program I am putting together have a look at:

http://www.leebies.com

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Mon Mar 31, 2003 11:17 pm


leebies
New php-forum User
New php-forum User
Posts: 5
Joined: Mon Mar 31, 2003 11:32 am
Contact:

Thanks

Postby leebies » Wed Apr 23, 2003 12:29 am

Cheers,

I used magic gpc :)


Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest