Search the Community
Showing results for tags 'shop'.
Hello, I am fairly new to PHP coding, after having spent years coding websites that just use HTML, CSS script, and JAVA script. I am working on a project and, when I am seeking the answers for my coding issues, I am just getting overwhelmed. I am not a typical new user, for I have no issue in obtaining the information myself. I was hoping that one of you would be able to just steer me in the right direction? I am working on a post-by-post fantasy rpg where we want to have our character database be set-up with like a Wiki (we are going to use the open source WikiMedia system), but the characters in our rpg earn traits through money earned in in-game events. What we need is a shop (Bazaar, really) system that allows a user to log into their account, spend the money on what they want, and the wiki automatically gets updated with the purchased item. We also need for the shop system to allow staff members to reward the players money and for a visual events log to show how much money and why the money was given (to stop people from claiming that we are cheating). Our money system makes this difficult as well because we keep track of total money earned and what is left to spend. For example, a character named Fluffy earns 1000 points. They buy a horn for 800 points. The system shows that their coffers have 200/1000 points. I realize that I am very new to all of this and that requests like this are annoying, but I am willing to learn the coding. I was just wondering if anyone could point me in the right direction. Thank you kindly for your time.
Hi. I'm a php newbie and I just want to ask something. I have this simple Shopping Website, and I'm already done with the shopping cart which I learned from the phpacademy.org. Whenever the customer entered the final phase in ordering, I want all her orders to go to a table in my phpmyadmin database called 'transactions' so I can put up all the transactions made in one table. The problem is I cannot think of a way on how can I enter each item she ordered in the table. For example, she ordered 1 dress and 1 pants. Then these will be treated as 1 transaction right? But I want to save these to the table as 2. One row for pants and another for the dress. Can somebody help me? I'm really having a hard time. Thanks in advance!