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

Remove values in array2 from array1
I have two arrays.

Array 1 is where the array key holds various different numbers. For exampl

phpMailer will not connect using SMTP
I am trying to use phpMailer with smtp:

Code: [Select]$mailer = new PHPMailer();
$mailer-&

Two warning messages
Quote<b>Warning</b>: mysql_real_escape_string() expects parameter 1 to

How to convert this array to string
I am having problems converting this array to a string
using print_r($val[1]); I get:
Code: [

Different payment methods with different cross company requirements in F110
We are implementing SAP in a company in the shipping industry. They have the following requirement:<

switch not getting value
what am i doing wrong?
i want to populate the country list according to the category
i want to

Why does my crawler script suddenly end with no error?
Hi.

I have written a web crawler script. It will visit a large number of URL's with cURL.

$GPRMC and NMEA how to extract from report
Hi There,

Im a little bi lost and not sure where to start with this one, ive got a small gps

Help Optimizing code
Good Morning,

I wrote a small import function for a website of mine and I know there has to b

mysql query with single quotes in a variable
$sitedetails = "INSERT INTO vars (address, sitename, description, ownername, theme) VALUES ('$u

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