AlabamaHit
Members-
Posts
1,308 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by AlabamaHit
-
Re: why isnt my text going to the LEFT? if it is a table <td align="left"> if it is just normal <left> should do it.
-
Community work on attack system :D (for coders only)
AlabamaHit replied to plintu's topic in Requests & In Production
Re: Community work on attack system :D (for coders only) i have had one of these for a long time..... not free of course. -
Re: does anyone have it? lol, people say +1 and look at her profile nothing....no need to say it just give it to them...as we can see you said it and didn't do it...
-
Re: CLASS PM me on msn i'll give you a link 2 a database class; ) What is it top secert class? is that why you wont post here? lol
-
Re: Monorail Problem You just want it to order by city level? Add this to end of your Query, v2 $q=$db->query("SELECT * FROM cities WHERE cityid != {$ir['location']} AND cityminlevel <= {$ir['level']} ORDER BY cityminlevel ASC");
-
Re: mcodes v2 installer.php help lol free = bad (Meaning, not ment to run games.)
-
Re: some help needed with php http://us.php.net/manual/en/function.isset.php
-
Cron problem - No energy for some users, others get it.
AlabamaHit replied to Eruondo's topic in General Discussion
Re: Cron problem - No energy for some users, others get it. becasue that example was to show them how to get a percent. not just 10. so they can use /100*12 for 12 pecente just / 12 is not going to work. that is why i did it that way. -
Cron problem - No energy for some users, others get it.
AlabamaHit replied to Eruondo's topic in General Discussion
Re: Cron problem - No energy for some users, others get it. for a percent i use this from time to time. this would be 10% ofcourse it meight not always work./ energy = energy + maxenergy/100*10 -
[URGENT] Help with my Code! [mcCodes v2]
AlabamaHit replied to CainFool's topic in General Discussion
Re: [uRGENT] Help with my Code! [mcCodes v2] peeople will answer when they are on, and ready, please don't bump after an hour. try this for your staff stuff.. if(!isset($_POST['stuff'])) { $j = $db->fetch_row($db->query("SELECT `text` FROM `header`")); echo 'Enter stuff you want to put in there. '; echo '<form action="'.$_PHP['SELF'].'" method="post">'; echo '<input type="hidden" name="stuff" />'; echo '<textarea rows="20" cols="20">'.$j['text'].'</textarea>'; echo '</form>'; } else { $stuff = trim(mysql_real_escape_string($_POST['stuff'])); if(empty($stuff)) { echo 'You did not enter anything.'; exit; } $db->query("UPDATE `header` SET `text` = ".$stuff.""); echo 'You just updated it.'; } Now to display it,...i would do this. $he = mysql_fetch_object($db->query("SELECT `text` FROM `header`")); echo sprintf('%s',stripslashes($he->text)); //This will show the stuff.... -
Re: refresh problem I reply and most here agree. I personally am sick of seeing people come on here, usually the same people. And they ask the same question that is answered on here 10 times. They claim to search, so i do, and boom there is the answer. There is no need to ask a question when it has been asked. It is that simple.
-
Re: Another Usersonline He didn't make it, i have seen that on here before.
-
Re: refresh problem Then you have no idea how to search just did and found 5+ with fixes. No I'm not posting the link, I'm not a baby sitter.
-
Earn More From your game - A Must Read
AlabamaHit replied to Optimizer's topic in General Discussion
Re: Earn More From your game - A Must Read Its got to be a scam if not he would have a site, and make 100% of money with his codes.. it's like that BS you see on TV sayin buy my book i can make you a millionaire... Do you really think if they knew how to make millions they would share it Of course NOT. So...scam........... -
Re: refresh problem search the forums, i bet this is answered...
-
Any chance for 10 seonds of your time?
AlabamaHit replied to bennyh's topic in Requests & In Production
Re: Any chance for 10 seonds of your time? if($gangdata['gangPRESIDENT'] == $ir['userid']) { echo 'Not while you are president.'; exit; } That will stop a president from leaving. -
Re: Help in Gang Organised Crimes Next time Search the forums. THis has been answered a lot on here.
-
Re: New Take Out A Loan i have one thast is a paid mod...you can find it on here.
-
Re: little crime thing ok 2 reasons no one helped yet. 1. No one likes when someone bumps that damn soon someoen WILL help when they have time. 2. You posted NOTHING that will help us help you. So in conclusion, STOP BUMPING that's just the dumbest damn thing. and if you want help saying you are dividing by 5 means nothing.
-
Re: PHP Question That's a brand of gum isn't it?
-
Re: Help fixing a small bug looks like register, you need to do it like this if($_POST['race'] == 1) { whatever supposed to do. } else if($_POSt['race'] == 2) so on and on.
-
Re: Name bug just add $_POST['newname'] = trim($_POST['newname']); above if($_POST['newname'] == "") { print "You did not enter a new name. > Back"; }
-
Re: Little Error Yeah that should do it. ".$_GET['ID']." or like he has it. ".$_GET['ID'] works fine, or ghetto look. {$_GET["ID']} LOL
-
Re: jail bust exp $exp = $db->query(sprintf("UPDATE `users` SET `energy` = `energy` - 10 WHERE `userid` = %u",abs(@intval($ir['userid']))));
-
+1 for helping me get this Cron_5 Min to work
AlabamaHit replied to Joshua's topic in General Discussion
Re: +1 for helping me get this Cron_5 Min to work To simplify what he said the $ir variable is not set in a cron.