I am using a mysql database, the field format is Decimal (7,2) and it receives the salary value.
Based on what the user types I store in the bank like this:
str_replace(',','.', $_POST['txtSalario'])
Substituting the comma by period....
asked by
06.02.2014 / 13:21