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

double and single quotes in text fields acting up... help please
Single quotes, when entered into a text field, create an sql error upon Submit. It seems to create t

Change snippet to use CURDATE
I am using time() in the snippet below, I would like to use CURDATE() and have the database setup fo

PHP Include not working
The website is http://www.grlistingservices.com

The code block is as follows:

<

NOOB needs help with upload file
The intent of this form is to create a folder for a client and upload an image into another folder '

Track downloads' status
Hello,

I need to make somehow, some system, to track whether downloads are completed or faile

Why use OOP?
Can someone explain to me why I should use OOP instead of procedure based code.

Im building a

INSERT data problem!
After having an string with apostrophes ', double quotes " or any other special characters, suc

admin with my register system?
Hey i wana make it so i can make a admin level on my register system , I'm kinda new to php to im no

Creating Images from images in PHP
Okay well I am trying to make a 'dynamic' calender image with PHP.

I have images like this:

Displaying a clickable playername
I am going wrong somewhere with the mysql_query, can someone please put me straight?

$playern

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