Hallo
Da mir ja hier keiner helfen kann
http://www.4homepages.de/forum/index.php?topic=3304.0möchte ich es anders versuchen.
Und zwar soll, wenn man auf ein Thumb klickt, erst überprüft werden, ob der User genug Coins hat, das Bild in groß zu sehen.
Es soll aus der
Tabelle ->4images_users Feld-> user_coins
abgefragt werden, und aus
Tabelle ->4images_categories Feld-> cat_cost
wenn user_coins < cat_cost
dann soll nicht details.html aufgerufen werden, sonder details_no.html.
Ist das machbar?
--------------------------------------
So, nobody can help me here
http://www.4homepages.de/forum/index.php?topic=3304.0so i want to try it by an other way.
If a User clicks at the Thumb, it must be checked that the user has enough coins for see the full image.
So, a db-query must select
Table ->4images_users field-> user_coins
and
Table ->4images_categories field-> cat_cost
if user_coins < cat_cost
then not open the template details.html, then open details_no.html
Danke
Thanks