I understand the concept of rand page, but I can not add generated numbers into one total, please give me a hint on how to create that total. Another thing is, in portfolio we must use only OOP?
Admin
Registered: 18 years ago
Posts: 10,001
Rating: 353
Don't just ask me---- remember you are also to help one another here....
No, OOP comes later.
As for a hint.... there a various ways, but if I say more I can just as well give it all. I need you to struggle a bit more... whatever you already have is there so you just add to it. If b = 3 and you say b + new number, then b = 3 + new number. Not the most elegant way - there is a way to do it in PHP that is much more eloquent.
Is there an error with the book or what? I have been running phptext.html and phptext.php, unfortunately I do no get the word Steve or any other thing after I input it in the form. I am using current browsers. Both of the files are in the same directory. Please help Mac.
Admin
Registered: 18 years ago
Posts: 10,001
Rating: 353
Ahem, the very previous post - don't just ask me. First try and help yourself... or throw it in the general direction of other students. This is not a one-stop-solution shop...!