Let's get straight to the subject. I made a page where someone can see a list of customers purchased a product.
There is a column in the database table named purchases_euro (varchar), which I store there how many euros the customer paid to buy the product, like 145000€, 10000€, etc..
Now, what I would like to know, is how can I count all purchases, then insert the summary of this count in a variable and finally display this variable (summary of purchases) at the website.