Hi
I'm trying to input a number like 2,5 from a form into mysql but it only register 2.
2.5 works great but is there something I can do to make it accept the "comma" number?
You can use php to replace the "," into a "."
$new_number = str_replace(",", $form_number, ".");
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.