bienenf Posted February 22, 2006 Posted February 22, 2006 Hello, I was trying to do some statistics from my database and I found very strange value in one table : Total_order value are quoted by "<b>". For example : <b>232.34<b>. Other values like TVA, Shipping, etc ... are correct Any ideas where I need to change ? Thanks in advance for your help. :huh: Quote
kgt Posted February 22, 2006 Posted February 22, 2006 That is normal in the orders_total table. The <b></b> tags are HTML bold tags. It's what makes the order total bold. Quote Contributions Discount Coupon Codes Donations
bienenf Posted February 22, 2006 Author Posted February 22, 2006 When I have a look for the product price they don't have the <b> in the database... And they appear bold in the invoice. For my point of you, it is not good to put Tag in the database table. Do u agree ? I guess the Tag has to be in the php code not in the database. Any other idea ? thanks in advance for your help. :blink: Quote
kgt Posted February 22, 2006 Posted February 22, 2006 The product price is a table field. Thus, when you output the data, you know which field you're outputting. The orders_total table is not structured so. The data structure is contained in row information, not field information. I agree that it's not an elegant or desired solution. But that is why. Quote Contributions Discount Coupon Codes Donations
bienenf Posted February 22, 2006 Author Posted February 22, 2006 Hi, Ok, your are right... I didn't see the Value table. So, it is ok. thanks again for ur help. Best regards :blush: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.