Posted 30 April 2003 - 08:55 AM
My interface is made in HTML code.
The problem is when i input the price, the data is not shown in the db. all it shows is the default 0.00. Help me please.. Thanks in advance
Posted 30 April 2003 - 11:54 AM
You should have something like:
INSERT INTO `table` (`field`) VALUES (\'5\');If `field` is a decimal field and has a length of 10,2 this will insert value 5.00 into the database. In MySQL, even if you place values between \', values will be converted to the right format. Also, be sure to use the \".\", not the \",\" to separate the decimal part from the integer part.
Posted 30 April 2003 - 10:19 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users