boionfire81 Posted May 3, 2016 Posted May 3, 2016 Just made this today. It's not the prettiest code, but it works and it's FREE. My site is a low economy game so feel free to tweak to your liking. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. CSS You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. you will need to find your own "lily" enjoy :) Quote
boionfire81 Posted May 4, 2016 Author Posted May 4, 2016 I have a bad habit of starting with one thing and ending up with another >.< Quote
NonStopCoding Posted May 4, 2016 Posted May 4, 2016 also when using global you don't need to global the variable unless its going to be used for example in the index function you have global the $ir,$db,$h but the only two you used are $ir and $h its not much of a biggy but not needed unless its going to be used :p You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and also i do mine like this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
sniko Posted May 4, 2016 Posted May 4, 2016 1. Learn to comment your code logic, if needed to explain why something is done, not how. 2. Learn code indentation (http://www.php-fig.org/psr/psr-2/) 3. No need to global things you're not using 4. Nice job Quote
boionfire81 Posted May 4, 2016 Author Posted May 4, 2016 yeah those are my standard go to's lol. and thanks! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.