Serin Posted April 18, 2013 Share Posted April 18, 2013 thanks il try that and get back to you Quote Link to comment Share on other sites More sharing options...
Serin Posted April 18, 2013 Share Posted April 18, 2013 $owned_houses is the database table name Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted April 18, 2013 Share Posted April 18, 2013 $owned_houses is the database table name Just like I told you in a pm $table_name does not work unless you define it like: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now you have the var defined and ready to use Quote Link to comment Share on other sites More sharing options...
boots Posted May 12, 2013 Share Posted May 12, 2013 Did any one get this to work ? been playing around with it but still loads of probs, does any one have a working copy Quote Link to comment Share on other sites More sharing options...
Serin Posted May 12, 2013 Share Posted May 12, 2013 i have a working copy but i cant give it out its not mine to give Quote Link to comment Share on other sites More sharing options...
peterisgb Posted May 12, 2013 Share Posted May 12, 2013 you can post it up here as it was a "free" mod. Quote Link to comment Share on other sites More sharing options...
Serin Posted May 12, 2013 Share Posted May 12, 2013 i had it rewritten by someone, doesnt work off a cron like this one money is given instantly, its his work if he decides to post it its cool Quote Link to comment Share on other sites More sharing options...
alexander7567 Posted June 13, 2013 Share Posted June 13, 2013 I fixed this and added a few extra things to it. You can see it here: http://alexriggs.com/viewtopic.php?f=140&t=10 Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted June 13, 2013 Share Posted June 13, 2013 why not just post the code here instead of directing us to your site then directing us to github? One thing I noticed is you said on your site to include some sort of pdo class thing in the config file, why? I looked over the code and its still filled with mysql_query(), that makes no sense to me cause you only use your "$dbh" or whatever an few times? Quote Link to comment Share on other sites More sharing options...
alexander7567 Posted June 14, 2013 Share Posted June 14, 2013 (edited) As I stated in the post every mod on here I see has been obscured by the forums. It will be preserved on github. And there is no way to see what lines of code has been updated if I modify the mod I find on here. And... If someone has a suggestion it is a lot easier to show me the suggestion. And by the way.... There is a link to download a zip file. The github link is just for programmers that know github and would like to contribute or even make their own version of it. And as for the PDO I only used it in places I updated. PDO is very secure and requires very little worry about hacking. Plus MySQL_ functions are depreciated and soon will not even be available in PHP anymore. And its been so long since I have done it the old mysql_ way I really don't even remember how. But its just the way I code. It's how I do everything I make. Edited June 14, 2013 by alexander7567 Quote Link to comment Share on other sites More sharing options...
Dominion Posted June 14, 2013 Share Posted June 14, 2013 (edited) And as for the PDO I only used it in places I updated. PDO is very secure and requires very little worry about hacking. Plus MySQL_ functions are depreciated and soon will not even be available in PHP anymore. And its been so long since I have done it the old mysql_ way I really don't even remember how. But its just the way I code. It's how I do everything I make. I would suggest keeping it consistent, and changing all or none. Seeing a file switch from mysql_ to PDO isn't good. Edited June 14, 2013 by Dominion Quote Link to comment Share on other sites More sharing options...
alexander7567 Posted June 14, 2013 Share Posted June 14, 2013 Well I'm not going to go back and update 50 queries just to keep it consistant. But I did provide a GitHub link... So if someone wants to take the time to update them all to PDO I would be willing to accept the pull request. PDO and MySQli are very similar. PDO is a preference to me. That's like asking why do I like apple's more than oranges! It's just a preference. Quote Link to comment Share on other sites More sharing options...
rockwood Posted June 15, 2013 Share Posted June 15, 2013 (edited) i can help you if you want with PDO Edited June 15, 2013 by rockwood Quote Link to comment Share on other sites More sharing options...
The Phantom Posted February 19, 2015 Share Posted February 19, 2015 Imagine, I wanted to delete every houses in the game? However, I have members who own houses. So I want every house to be deleted and give back the money of each houses the users bought...? Quote Link to comment Share on other sites More sharing options...
SRB Posted February 19, 2015 Share Posted February 19, 2015 Imagine, I wanted to delete every houses in the game? However, I have members who own houses. So I want every house to be deleted and give back the money of each houses the users bought...? Something to the effect of; You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
The Phantom Posted February 21, 2015 Share Posted February 21, 2015 But there is multiple houses which people own... Quote Link to comment 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.