Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

Simple Problem

General discussions related to php

Moderators: macek, egami, gesf

Simple Problem

Postby spherecraft » Mon Oct 07, 2013 5:34 am

Hello Php Forums!

I have a script that has point system. and if you have enough points you can get rewards example
usb,tshirts etc..

i already done the function when the user redeem his/her points will be deducted based on how much points is needed to redeem that item.
now i have a problem,

i want to display the redeem items name on his/her profile page.
how can i do it?

rewardid | rewardname | price

1 | USB | 10

userid | username | points | password |redeemed

1 | code | 500 | 4141414141 | ?????

New php-forum User
New php-forum User
Posts: 3
Joined: Mon Jul 15, 2013 5:09 am

Re: Simple Problem

Postby johnj » Mon Oct 07, 2013 10:35 pm

pick the redeemed item and show it on his/her page
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Return to PHP General

Who is online

Users browsing this forum: Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.