delete comma


Posted on 16th Feb 2014 07:03 pm by admin

HI,

How to delete "," at the end of the string.
Code: $match = 2009/02/03/a2correx03cvbnm,

echo preg_replace("/;$/", "HI", "$match");

No comments posted yet

Your Answer:

Login to answer
62 Like 45 Dislike
Previous forums Next forums
Other forums

PHP Upload issue
Hi guys,

I have stumble across an interesting issue with my script and is doing my head in.

Need help with cin setw
I made a program here is my code:

#include
#include
#i

Save data in input fields when they press "BACK BUTTON"
Hi, this is html form: And let's say they get a error "Please enter ur title must be more then

Remove directories not empty
hi,
i have an array that contains some names (1,4,6,56...). Every integer is a name of a folder.<

foreach result into a single variable
Hi,

I have this code...

Code: [Select]foreach ($_POST['Interests'] as $interest =&

Why will this program not run if the variables are not global?
Hey guys I have a kind of perplexing situation that is probably simple, but I can't seem to understa

Include a php
Hello,

I'm trying to include a function that shows the recent searches.
Example I have <

$action = "insert"; //$action = $_GET['action'];
$action = "insert";
//$action = $_GET['action'];

why is this invalid type? I am

array_map() probably obvious mistake
The code below is part of a class to escape strings, but should also accept an array, using array_ma

Simple MySQL script is not working
Hey guys,

Just familiarizing myself with PHP and MySQL. I am following along in the O'Reilly

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