You are here: Re: multiplication math not working ? « PHP Programming Language « IT news, forums, messages
Re: multiplication math not working ?

Posted by One on 02/12/07 16:18

On Feb 9, 5:51 am, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> One wrote:
> > history['order_total'] is $241.47
> > [60][98][62][36][50][52][49][46][52][55][60][47][98][62]
>
> $history['order_total'] contains '<b>$241.47</b>'. This is not a number.
>
> $history['order_total'] = (float)preg_replace('/[^0-9\.]/', '',
> strip_tags($history['order_total']));


Mr. Toby!
You da man - thanks very much!

Thank you also to Rik and Jerry for taking the time to resolve this
issue.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация