Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~85 People Reached
Favorite Forums
Favorite Tags
php x 1
Member Avatar for mkerrigan

I am trying to only certain characters to be saved to the database from input of a textarea. The input is going to a variable called $vBody. What I have below works: [code]$vBodyCleaned = reg_replace('[^A-Za-z0-9~!@#$%&*()-_=+'|:;",./? ]','',$vBody);[/code] except for the fact that the client wants to preserve the line feeds and …

Member Avatar for ShawnCplus
0
85