The Phantom Posted January 2, 2013 Share Posted January 2, 2013 The marriage system cronus made dose not work, I really need help well it works but really really buggy. People can move into people house and sell it and move back in and sell it and make alot of money You can accpte another proposal even doe your married? Help me out pleassee! Quote Link to comment Share on other sites More sharing options...
Razor42 Posted January 2, 2013 Share Posted January 2, 2013 Could do something like..... Add this into phpmyadmin: ALTER TABLE `users` ADD `married` tinyint(11) default '0'; Then add something into the code for when they get married: $db->query("UPDATE users SET married=married+1 WHERE userid=$userid"); Then add something into the code for when they get divorced: $db->query("UPDATE users SET married=married-1 WHERE userid=$userid"); Now add something into for when trying to send requests to someone if they are already married: if($ir['married'] == 1) { echo "This person is already married"; $h->endpage(); exit; And also add same into section where they accept requests saying that you must be divorced before you can accept another marriage. There are probably some better ways of doing this but first way I could think of and should fix your problem of people being able to accept requests when already married, I think :P Quote Link to comment Share on other sites More sharing options...
lucky3809 Posted January 2, 2013 Share Posted January 2, 2013 (edited) I had to do edits to the script... if it's the one I am thinking of, that has queries in the header part... those need to be removed and be put in the right page.. and under the correct function... As for this is why you are having this problem. It should be done like Razor is stating!! Edited January 2, 2013 by lucky3809 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.