Forum Moderators: coopster

Message Too Old, No Replies

String in mysql php and phpmyadmin different

         

HeadBut

10:07 pm on Apr 30, 2006 (gmt 0)

10+ Year Member



When I set a varchar field to "Kee's" I get "Kee�s" or "Keeís" in my php pages, but it's handled properly by PHPMYADMIN. I'm not sure how PHPMYADMIN is doing it but I think I should do it the same way.

Anyone know how PHPMYADMIN handles these string.. both going in and comming out?

Wow! even this site is messing up the text!
Many Thanks
earbite

eelixduppy

11:30 pm on Apr 30, 2006 (gmt 0)



Hello...

I'm guessing that it automatically adds slashes when it is needed. You should try that manually to see if that fixes your problem.

Hope this helps!

eelix