Jump to content
MakeWebGames

Lithium

Members
  • Posts

    1,099
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Lithium

  1. Re: THIS OR THAT? Definetly FF Keyboard or mouse
  2. Lithium

    Name bug

    Re: Name bug   weird... definetly there's something not going as it should!
  3. Lithium

    Name bug

    Re: Name bug   Then the problem IS in your query when inserting into the DB
  4. Lithium

    Name bug

    Re: Name bug good example, now assume i use a name entrirely numeric trim(" 2453645365 6436365365 "); what does this one produces? ;)
  5. Lithium

    Name bug

    Re: Name bug @Feky rtrim(ltrim($_POST['NewName'], " "), " ");
  6. Lithium

    Name bug

    Re: Name bug @HD lol i knew you were going to reply, yet, with no defined trimming chars it will trim ALL the whitespaces, as you can read a bit down on that same page :P
  7. Re: THIS OR THAT? SQL and no i really meant h++ or h* ;) (a tip: google for "geek code") Beach or countryside?
  8. Lithium

    Name bug

    Re: Name bug despite HD's solution is the most practical, it will trim all spaces within the string, so if you want a name like "Haunted Dawg" it'll become "HauntedDawg" using trim(). the best yet not the fancy if you want to simply avoid first and/or last spaces (or other chars) use rtrim() combined with ltrim() http://uk2.php.net/manual/en/function.ltrim.php http://uk2.php.net/manual/en/function.rtrim.php @Feky: it doesn't leave the space unless you misuse it. my suggestion... follow the examples on the above pages :)
  9. Re: protection mccodes v2 Or... hire someone to secure it for you!
  10. Re: THIS OR THAT? Work h++ or h*
  11. Re: why doesn't this work? and the error is...?
  12. Re: Buy House with level my 2 cents... It is not in 20 minutes that someone will answer you. 3 posts about the exact same thing is just one step to no one helping you out. As of your first post about this, IF you read the entire thread instead skipping posts, you'd make it working.
  13. Re: Drugs Help you might want to add a few ; at the end of some INSERT lines you got there...
  14. Re: [V1] Stray Missile   Can i fix it? Yes Will i fix it? No Why won't i fix it? because you failed to even make the simple user select, and that doesn't needs a fix, needs a recode :)
  15. Re: [V1] Stray Missile without even testing it... it doesn't work
  16. Lithium

    Hacking

    Re: Hacking   ROTFLMAO even the "biggest" companies are vulnerable! http://www.readwriteweb.com/archives/mc ... _fraud.php
  17. Re: TwIsTeD WiShEs !   Sorry, not granted! People are too lazy to learn when there is always someone to do ALL the work for them!
  18. Re: Jail and Hospital do a print_r($jc); and print_r($hc); just to see what each one returns when you call them. you can place those right near the displays so you can know what is what
  19. Re: Jail and Hospital @ gurpreet... see the difference between my last and yours? that was the reason you got the error ;) oh... replace the code of your OP for this one   if($jc > 0) { print "[url='jail.php'][img=*****/jail2.gif][/url]"; } else { print "[url='jail.php'][img=*****/jail.gif][/url]"; } if($hc > 10) { print "[url='hospital.php'][img=*****/hospital3.gif][/url]"; } else if($hc == 0) { print "[url='hospital.php'][img=*****/hospital2.gif][/url]"; } else { print "[url='hospital.php'][img=*****/hospital.gif][/url]"; }   trash this bit away and place the one i posted last
  20. Re: Jail and Hospital   echo $jc = ($jc) ? '[url="jail.php"][img=ikony/jail.gif][/url]' : '[url="jail.php"][img=ikony/jail2.gif][/url]';   and   echo $hc = (!$hc) ? '[url="hospital.php"][img=ikony/hospital.gif][/url]' : ($hc > '0' && $hc < '5') ? '[url="hospital.php"][img=ikony/hospital2.gif][/url]' : '[url="hospital.php"][img=ikony/hospital3.gif][/url]';
  21. Re: House pic trouble   Naturally... you need to <img> the $ir['hPIC'] as chicka already "said"
  22. Re: Streets mc2 mod   streets.php?action=scavenge 404 not found <- simple fix... rename the file back to streets.php or As DR said, get it from mccodes.com (and yes it is working) or Use another browser as search is working just fine
  23. Re: Jail and Hospital   echo $jc = ($jc) ? 'green pic' : 'red pic'; echo $hc = (!$hc) ? 'green pic' : ($hc > '0' && $hc < '5') ? 'yellow pic' : 'red pic';
  24. Re: Total job pay "DB query for job ranks from users then jrpay from jobranks" dump into an array the jobs pay then compare with users, sum each user
  25. Re: Viewing codes hack IonCube does not protect html! right click scripts fail (CTRL+U in FF, "View -Source" in IE)
×
×
  • Create New...