Jump to content
MakeWebGames

POG1

Members
  • Posts

    1,419
  • Joined

  • Last visited

Everything posted by POG1

  1. Re: Shops Item Quantity? Oh ok. Nice idea. ? steps to do it; 1. Add 2 fields to the shop items table, defaultQTY and also add QTY. 2. Edit the shops to work arrround this; buying would need to take the buy qty from the shop item. 3. add a cron to reset the QTY to default QTY.
  2. Re: Shops Item Quantity? shops is where you buy items, why would the quantity need to be reset?
  3. POG1

    template engine

    Re: template engine with website packages such as wordpress you can select templates and save the file in its own dir. I want to use that with games.
  4. Re: [mccode] Small mod (getting back into coding) if you look at the statement though... $error = (blah... that is declaring and assigning a value to the error variable so a few lines down when it says isset it will have all ready been set.
  5. Re: [mccode v2] Different User Profile & View User Page     Woah a gray box! Crazy!
  6. POG1

    How to use sprintf?

    Re: How to use sprintf? why does everyone do crazy spacing on something as simple as formatting a string. Wont it will take longer to process? why not just on 1 line? $db->query(sprintf("SELECT userid FROM users WHERE (userid = '%u')",abs(@intval($id))):   Also, at karlos' insert string example you are entering a value into an auto incremental field, it should be left out.
  7. Re: [mccode v2] Annoucements Upgrade! $Order = sprintf( "SELECT * FROM " . "`mod_announcements` " . "ORDER BY `annouce_ID` DESC" ); why is that in a sprintf?
  8. POG1

    Include or Require?

    Re: Include or Require? Include and require are the same but the difference is the way they handle errors. They will both give a warning/error but require will return a fatal error. Why use DIRNAME(__FILE__)? globals.php will most probably be in the same directory..
  9. POG1

    template engine

    Re: template engine does anyone know of a ready made template engine that you can just create a file and it will put it on the page.
  10. Re: [mccode] Small mod (getting back into coding)   i forgot vb lol only been about a year... its ok VB sucks anyway
  11. Re: Small mod (getting back into coding)   your using isset() but you have set the variable just above, you could probably use FALSE as the else.
  12. Re: [mccode] Bit of code for staff Apps define("APLICATIONS","open"); echo (APLICATIONS = open) ? 'Staff Aplications : FALSE ;
  13. Re: Table + CSS problem <table class="background> blah blah... </table> in the CSS.. table.background { background: url(URL HERE); }
  14. Re: Random Item in shop $books = array(1=>array(60,61,62,63),2=>array(64,65,66,67),3=>array(68,69,70,71)); $books = $books[mt_rand(1,3)]]; echo $books;
  15. Re: Staff Functions! The YUI (yahoo user interface) has sick multi teared navigations, they would look sick on a staff pannel.
  16. Re: Another problem need help with try the query in phpmyadmin
  17. Re: [REVIEW] The Porn Star Wars very good idea for a game and it has been done very well! You may like my profile ;)
  18. Re: [REVIEW] Crime-Network.com - Please review!   dreamweaver and php, what a strange comparison... dreamweaver = Web page editing software. PHP = server side programming language.   it is obvious it is GRPG, bad choice...
  19. Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS   I posted a script like this a while ago...
  20. Re: Big thanks to Killah     haha
  21. Re: Another problem need help with I think it will be something to do with IN('%s') Or would count() be needed? that may be the cause of the error
  22. Re: Another problem need help with echo the sprintf to see if it is an error in there, if not you will know its the query.
  23. Re: Big thanks to Killah Not even a design?
  24. Re: [mccode v2] Av Bank 8 people viewing, You 2 both got your audience now!
  25. Re: Need Mccodes Help To Finish Mafia Game $ the DEA are very rich of coarse there will be pay! Unless your not the DEA?
×
×
  • Create New...