Could someone please point me in the right direction, as to why this is not validating 2dp price values entered;
if (!preg_match("/^[\d]{1,8}\.[\d]{,2}/",$Price)) { error_page("Please enter a valid price. It need to be to 2 decimal places..."
; }
Thanks in advance
Andy
if (!preg_match("/^[\d]{1,8}\.[\d]{,2}/",$Price)) { error_page("Please enter a valid price. It need to be to 2 decimal places..."

Thanks in advance

Andy