Rouven: x-mal gelesen Counter

Beitrag lesen

Hi,
wenn dein Newseintrag sowieso in der Datenbank steht, dann füge dort eine weitere Spalte ein. Jedesmal wenn du einen Eintrag abrufst, liest du diese ebenfalls aus und zeigst den Wert als Anzahl abgerufen an. Direkt danach führst du eine weitere Abfrage durch in der du ein UPDATE laufen lässt und bei genau diesem Satz den Wert um 1 erhöst.

MfG
Rouven

--
-------------------
He is entertaining both out of the car and in the car because if you tell him that a corner is almost flat then he is the guy who is going to try to take it flat even if it means shunting it the other side of it, he will come with the data and say 'hey, I may have crashed and destroyed the car, but I was flat-out'. That is an interesting quality that he has!  --  Team Member on Jacques Villeneuve