View Full Version : form submit removes decimals - how to replace

06-23-2005, 08:54 PM
When I submit my form data, the decimals and spaces are removed and replaced with '_' -- How can I fix this when I print the values?

urldecode() and stripslashes() have not fixed the problem - how can I replace the decimals and spaces, respectively, where they are both replaced with the same _ char? If I use str_replace(), it replaces both decimals and spaces, but with the same character because they are both represented by the underscore. :confused:

06-23-2005, 09:18 PM
lets see your php that processes the form data

06-23-2005, 10:36 PM
Do you mean the form field names or the actual values? I've seen field names replaced before but never values.

06-23-2005, 11:06 PM
to remove decimals u can press 'backspace' on the keyboard :thumbsup:

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum