I need some help with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
TR1U
Forum Newbie
Posts: 1
Joined: Thu Aug 12, 2004 3:33 am

I need some help with PHP

Post by TR1U »

Hi!! i've got a little problem. I want to erase the " \ ". and the " (shift + 2). but i don't know if shift + 2 works on an amerikan keyboard.

if somebody could help me, what i think that many people can do in this forum, please answer me soon.

thx to everyone
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

Excuse me for being naive; but when you say (shift-2) are you talking about the at sign? (@)
d_d
Forum Commoner
Posts: 33
Joined: Wed Jul 07, 2004 4:56 pm
Location: UK

Post by d_d »

I presume the " which is shift+2 on a Uk keyboard. What difference the keyboard makes I have no idea, Couldn't you just do a str_replace?
$text = str_replace('\'','',$text);
$text = str_replace('"','',$text);
Post Reply