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

generating random codes
Hi guys n gals,

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

These codes a

include function being weird?
I have a very simple system to grab an IP outputted by a PHP file.. (for a project I have) but it ou

Oracle Text CTX_DOC.snippet slow
I have a table (FILE_TABLE) that contains a blob column (ft_file) and I have created the following O

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

Warning message
I've put a website that I was doing live and I'm getting this warning message when I try to add a ne

Form help: Syntax & Logic
Hello again all,

I'm working on a form and ran into a wall (again) and can't seem to think th

"From field" in PHP email form
I used a wizard to create a PHP email form. I was able to customize it with the exception of the Fr

Undefined Variable: PHP_SELF, pls help
Hi,

Im a newbie on PHP / MySQL programming and Im running a script to search one field on my

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

cURL error
So here is my code... I got it off of here... http://www.youtube.com/watch?v=XcgQUsorF_8
Because

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