php-challenged Posted August 8, 2008 Share Posted August 8, 2008 What I need is a simple 'ladder system' for a gaming clan webpage. Functionality req'd is: adding/removing users from the ladder adding/removing wins & losses for users, as well as automatically tallying points based on wins and losses (simple math for the latter part) sorting users in a tabled output, from most points to least (with secondary and tertiary sorting priorities as well, such as total games and alphabetical username) Naturally, this would all be able to be modified through a simple GUI, where a user with admin privileges enters the values and hits Submit. So say I got no PHP experience, but do have intermediate programming experience (Java). Would I be able to pull this bit of PHP off, and integrate it into a phpBB forum portal? Quote Link to comment https://forums.phpfreaks.com/topic/118733-how-hard-would-it-be-to-make-this/ Share on other sites More sharing options...
php-challenged Posted August 8, 2008 Author Share Posted August 8, 2008 Oh, and if anyone could link me to an example of some example code for something similar, that would help me out a lot, thanks. Quote Link to comment https://forums.phpfreaks.com/topic/118733-how-hard-would-it-be-to-make-this/#findComment-611332 Share on other sites More sharing options...
MasterACE14 Posted August 8, 2008 Share Posted August 8, 2008 this is quite easily achievable. It's not particularly hard to do. The hardest part would probably be integrating it into phpBB forum. But even that shouldn't be too difficult. For this you need to know basic PHP, selecting and inserting data for a database of your choice, probably sqlite or mysql, and you can google "PHP Page Pagination" to find a pagination script that can break up the results in a table into different pages, and can order them ascending and descending etc. Quote Link to comment https://forums.phpfreaks.com/topic/118733-how-hard-would-it-be-to-make-this/#findComment-611344 Share on other sites More sharing options...
php-challenged Posted August 8, 2008 Author Share Posted August 8, 2008 Thanks for the advice. In terms of the database... will I be making a separate (and very tiny) SQL database file just for this feature? Quote Link to comment https://forums.phpfreaks.com/topic/118733-how-hard-would-it-be-to-make-this/#findComment-611355 Share on other sites More sharing options...
MasterACE14 Posted August 8, 2008 Share Posted August 8, 2008 if you want to have a nice small and compact database, then go for sqlite, sqlite is a flat file database so its basically saved in a text file. Quote Link to comment https://forums.phpfreaks.com/topic/118733-how-hard-would-it-be-to-make-this/#findComment-611362 Share on other sites More sharing options...
php-challenged Posted August 8, 2008 Author Share Posted August 8, 2008 I wish I knew what you were talking about but I have zero experience with databases or PHP. Quote Link to comment https://forums.phpfreaks.com/topic/118733-how-hard-would-it-be-to-make-this/#findComment-611937 Share on other sites More sharing options...
RichardRotterdam Posted August 8, 2008 Share Posted August 8, 2008 if you have zero experience with database i think it probably would be easier to use mysql since there are many php mysql tutorials to be found online . sqlite is good if you want your db in a simple flat file. just try to lookup some mysql tutorials and things will make sence. and if i am not mistaken phpBB uses mysql aswel. about the database it supports a lot of database including mysql and sqlite and a LOT of other databases Quote Link to comment https://forums.phpfreaks.com/topic/118733-how-hard-would-it-be-to-make-this/#findComment-611943 Share on other sites More sharing options...
php-challenged Posted August 9, 2008 Author Share Posted August 9, 2008 But isn't MySQL == SQLite, generally speaking? Or are you saying that just because of the availability of tutorials? Quote Link to comment https://forums.phpfreaks.com/topic/118733-how-hard-would-it-be-to-make-this/#findComment-612174 Share on other sites More sharing options...
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.