Posted by Stefan van Roosmalen on 10/17/44 11:43
Hi there,
I am using a form to let the user enter an amount.
This must be with zero OR with 2 decimals.
I'm using the comma for decimal seperator.
How can I check if the input is valid (ereg or preg_match?) and what is the
exact statement I will have to use?
Please help me with this.
Thank you.
Stefan.
[Back to original message]
|