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?

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

Problem with a select distinct
I have a problema with a select distinct, I have the next sql:

select distinct a,b,c,d fr

do while conditions
i want to display 6 images in a 2x3 table
now what would be the correct logic to
count that th

Need help to modify php ELSE code
I'm trying to find a way to have the php code display a message if there is no inventory listed in t

Image resize
Hi again fellers

I managed to sort out the issues with the folder,

Final hurdle is th

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

I have images like this:

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

The code block is as follows:

<

Implementing Single Sign-On using SAML 1.1, x.509, LDAP in C#.net
Hi, I got a requirement from the client i.e implementing single sing on using SAML 1.1( LDAP &

displaying unknown amount of results
I am reading a directory and getting a list of folders in the directory, I want to display the folde

Checking BOM Authorization Group
Hai Friends,

I have developed a mulitilevel BOM display report. End users have been assig

Function to extract email attachments using PHP IMAP
function extract_attachments($connection, $message_number) {

$attachments = array();

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