Jump to content

bluecubic

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bluecubic's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I tried to encapsulating the comma in quotes to see if that would work... Thanks for the quick reply.  That code unfortunately didn't work.  I also just tried [code]echo trim($orders['order_total'], ',');[/code] and it didn't filter out the comma... Example: input:  [code]<b>$1,000.00</b>[/code] desired output: 1000.00 Thanks.
  2. I'm trying to trim out several characters.  It's not trimming out the comma, it is trimming the other characters.  Thanks. Here's what I have now: echo trim($orders['order_total'], '< > b $ / \ ","');
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.