brmcdani Posted January 20, 2010 Share Posted January 20, 2010 Iam currently working with a client who wants a members only area that will accomplish allowing for a permanent 10% discount on everything for sale on the site. How would I be able to apply a 10% discount option for the items for sale? Also the site is in FLASH how hard is it to implement PHP into FLASH? I am guessing it wouldn't be too hard. Let me know everyone's thoughts please. Thanks Link to comment https://forums.phpfreaks.com/topic/189109-members-only-area/ Share on other sites More sharing options...
Sesquipedalian Posted January 20, 2010 Share Posted January 20, 2010 I would use session variables. When they log in you can assign something like $_SESSION['auth'] = 1; And then you could have special code that checks whether or not $_SESSION['auth'] == 1 and make it display different prices accordingly. I'm not exactly sure on the Flash aspect, however. Link to comment https://forums.phpfreaks.com/topic/189109-members-only-area/#findComment-998396 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.