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

Javascript form submit and radio buttons?
When this form is submitted, it is automatically resubmitted using JS.

All my fields are carr

Working with Global Variables
hi, I'm not really sure why the following code is returning a "Call to a member function getBan

php sessions,logouts & the bloomin back button!
Hi All,

I've got a cms that members can log into. When they logout, the session is destroyed,

Table sorting
Hi,

I'm trying to modify the following in order to make the output table sorted alphabeticall

Mysql error message
help me find out what this error message means:

"Duplicate entry '0' for key 'PRIMARY'&q

why isn't this PHP code working ???
it's suppose to find a name on the database.

<?php

$s = $_POST["lname&

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

Check Digits and extracting digits
I think I can figure out the code for this but I am having a very hard time getting past the first s

Check if another session of the page is running?
I want to keep people from opening multiple tabs, or sessions of my Facebook app. Is it possible to

re calling a function without including file
Hi,
i am new to programming in php, i was just checking the wordpress code and found out in the w

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