remove trailing slash from array


Posted on 16th Feb 2014 07:03 pm by admin

I have the following array which contains trailing slashes I need to remove. What is the best way to accomplish this?

Did you know?Explore Trending and Topic pages for more stories like this.
Array ( [Field1] => A [Field2] => Test [Field3] => öööö '')
No comments posted yet

Your Answer:

Login to answer
212 Like 9 Dislike
Previous forums Next forums
Other forums

Procedural to OOP
ohn Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pri

Simple MySQL script is not working
Hey guys,

Just familiarizing myself with PHP and MySQL. I am following along in the O'Reilly

Why will this program not run if the variables are not global?
Hey guys I have a kind of perplexing situation that is probably simple, but I can't seem to understa

Undefined variable: adHTML
Hello:

While checking my site error logs, I've noticed one repetitive error that fills the lo

Apple's revamped lineup arrives

I'm personally curious about the magic mouse.. a multi-touch concept sounds like it could be nea

Extract specific information from a PHP Multidimensional Array
Howdy! I've racked my brain over this for 24 hours now. I think it's time I asked for help. I'm lear

PHP mail() returns true but doesn't work
First off I apologize if this is a newbie question, and I generally don't like asking questions that

single values into sql field
i have a form which i want the user to able to select multiple answers. But i want the answers to be

Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with

can i optmize image to 50% quality before uploading 2 server
Hi there

i have jus written a php program to upload and display images but when i try to uplo

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash