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

How to read CSS message data
Hi,
I have a requirement here. When working as a Dev angel for multiple customers its really di

Email Script does not reach destination
Hey Guys look at this code snippet :
Code:
//read a line from the file

$myFile = "

help with contest script
I would like to code a contest script to my site but i don't know how. Could someone just give me pu

Need help with an email blocker for a guessbook
I am new with php and here is a simple guessbook page but I am being hit with spam from a group of t

Login Functionality Working Different on IE
This is an odd one, I have a site which has an admin section. The admin pages unsurprisingly require

image upload, resize THEN submit form
Ok so I have a form that requires the user to upload an image, and then do something with that image

Forum tutorial
Im a beginner in PHP. Im making a forum(previous questbook, counter and few others) to learn. For no

Echo-ing MySQL content and Keep Formatting?
I have data in my MySQL such as:

QuoteBlah blah

Blah blah

etc
but when i ech

string to currency format
Hi guys...

Actually I chunk out some data from txtfile and one of the data contains amount va

Not capturing all the information we require in the form.......
Hi Guys,

I was wondering if you would share some more of your knowledge today, I'm hoping it

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