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

parse error
Parse error: syntax error, unexpected '[', expecting ')' in /Users/admin/Sites/phptest/array.php on

Setting condidtions for an input box
Hi all,

I would like to set a condition in a txt box that says the number a user enters has t

Open link with largest int string first
I have the following links i would like to open either all at once or one-by-one. How would i procee

download directory onto C drive
I am attempting (if this is possible) to write a routine to automatically dump the contents of a dir

A rank users order by points
I want to make an insert from table 'rank' , with number (rank) from the cod blow, to fild users.ran

Renaming a file that a user uploads to site?
My site allows for registered users to upload images to the site under their own gallery. Currently

Echoing If Function?
A script I am using has If statements in the comments form to basically tell the form what to do. Cu

send message to the java application
Oracle 10g with Windows platform.

I have a java application that periodically pings the d

How to have a log of all the status a VIM document had been ?
Hi guys,

I’m using SAP Invoice Management plugin and the /OPT/VIM_ANALYTICS transa

Rounding a number queried from a database
I know that to display a rounded number you just do echo "round($number)";. But how would

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