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

image upload, resize THEN submit form
Ok so I have a form that requires the user to upload an image, and then do something with that image

DOMDocument parsing
Hello, I am parsing an xml file from an API which I have converted into a DOMDocument in php. This i

Is there a quick way to do this?
Hi all,

I need to create a mysql table from php that goes a little something like this

grouping within a foreach?
hello all,

I currently have a list of products spit out from my db via a foreach loop. Right

Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website

Supress some serveroutput but not all
Hi,

I have a script I'm working on that uses plsql to create and RMAN script, this uses d

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

generating random codes
Hi guys n gals,

I have a requirement to generate 250,000 unique codes...

These codes a

Parse XML
Good day,

I use oempro software and try to parse XMLReturn but it's not working for me, simpl

Login Functionality Working Different on IE
This is an odd one, I have a site which has an admin section. The admin pages unsurprisingly require

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