Jump to content
MakeWebGames

[mccode] MOney game


Krafty

Recommended Posts

Read this all !

First things first!

This is simple, and it's for people to learn from!

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Yes there might be errors in there...but you can improve on that it's not so hard..post in your improvements or post in fixes!

Thanks for your appreciation in advance.

Link to comment
Share on other sites

Re: MOney game

I would say that mine is better for beginners. Yours has several major problems.

For a start the first value of the array will always equal one, so the condition will always be true.

Also it updates all the users, not just the person running it; however it may be intentional, or not.

For beginners, read this tutorial: http://www.tizag.com/phpT/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...