Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Posting Data To MYSQL, character problem

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
leebies
New php-forum User
New php-forum User
 
Posts: 5
Joined: Mon Mar 31, 2003 11:32 am

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

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

Thanks

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

Cheers,

I used magic gpc :)
leebies
New php-forum User
New php-forum User
 
Posts: 5
Joined: Mon Mar 31, 2003 11:32 am


Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.