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

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

Storing Values taken from a DB...
Using this code it will generate a short list from my database

<?php
mysql_connect

Required to login help
I'm trying to set up my site so users have to be logged into the forum to access the site.I've been

Placing and array within an array then sorting it!
I have a page that runs two large mysql queries and saves the results into arrays, in php I then per

Displaying Column Names
I have a question regarding the ability to show the column names from my table/query.
What I'm lo

MySQL query problem
When I try to run the following piece of code, I get this error:
QuoteWarning: mysql_query(): sup

noob cURL help
I have a pretty basic form that I need to cURL post to a file in my includes folder (includes/login.

Searching keywords from array
Hello everyone, Im just wondering if someone could help me with another issue im having. Im still le

Print out contents of to Excel
I have got this script that gathers all the data that I need but I need it to send it to excel inste

Filtering an Array Based on Value
I have a very simple script set up that pulls data from a database and is output using this code:

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