I'm a super-newbie when it comes to coding PHP. I started three days ago, yet I feel that I'm making progress. (and I'm new here, too, so if I do anything wrong, please let me know.. _)
However, I am unsure that I should be using PHP for the project on which I am working. So far everything seems to be working, but I've run into some "minor" problems when working on two different matters. First one:
I am trying to make a 'counter'.. only, I want it to reverse. I have a code that gives me a random number, and I'm trying to make a code that enables me to subtract several numbers from the a number, without resetting the original number every time. Uh... does that make sense?
Example:
100 - 20 = 80
80 - 12 = 68
etc.
Is it possible to do with PHP, or am I using the wrong language? god, I'm such a noob
Second.. I'm trying to make a kind-of 'paper-doll' script, that allows me to "equip " and "unequip" a shirt/some hair/whatever to a stickman. My main problem is.. I ahve no clue what -kind- of code should be used. I think it can be done in PHP, but so far I've seen nothing that I found remotely helpful. Perhaps if I get some kind of clue as to what kind I need, it'll help me.. o.o;
Uh.. if it's of any help, I'm using Macromedia Dreamweaver to code in. I use the w3schools.com tutorial on PHP, and I'm currently learning about loops. Is my aim hopeless? Am I too unexperienced to do anything remotely like what I want? Any pointers/guidelines/anything is helpful.. XD
By the way, if my english seems bad, it's because I'm european. Please bear with me.