Jump to content

Q695

Members
  • Posts

    783
  • Joined

  • Last visited

Everything posted by Q695

  1. I did it on a file where I passed the get array variable to the post array variable. This can get messy if you do it by the for each.
  2. I like it, but I'm confused as to how I write one simple include statement, and it will only require me to change the textarea name.
  3. Does anyone know of a stand alone text editor that works similar to the one I'm using right now, because I've looked at the WordPress editors, but it looks like they need all kinds of files. I'm thinking something that I can easily write an include statement with on my own site, and easily tell it what to pass the variable as.
  4. Put an if statement in to make sure the inventory is at, or above 0 for the hour.
  5. have the data submitted by a hyperlink with javascript pulling data to put it in the link? http://stackoverflow.com/questions/7850066/javascript-pass-variable-in-href-onclick-request
  6. Then put a dynamic string on each target to look up the target when it's being attacked.
  7. Is there some sort of looping in it that I missed?
  8. Do the calculations server side, and have the character interactions be the only thing going to the client.
  9. Is it solved, or do we need to help you further?
  10. Then mark it solved.
  11. I asked the exact same question about 2 weeks ago.
  12. you can do that or do an if (!$id) on the inside, then display one page, or the other with includes.
  13. Q695

    help arrays!

    you probably are thinking a while ($row=...)
  14. Why don't people mark solved then?
  15. the easiest way to do it would be to have the guitarist have date columns with the month, day, and year in them, possibly hour, minute, second, and day of the week fields in them. the date function will work with dates pre1070, only IF you put them into two column data spots with the overflow in the 1st column, unless you tested that idea already, and it gave you an error.
  16. The date tag interprets the date every second previously, or after 1/1/1970. it is also saying they're 10 years younger than they really are. If only real life was that easy.
  17. Why are you using an array to hold the data instead of just using things like "$filter_cust_group"? Also you have 2 "filter_cust_group"s.
  18. <input type="text" name="field" value="<?php echo"$_POST['field;];?>"> a post, and get are already arrays.
  19. do it with a +/-BIGINT then have it output the date based on that.
  20. is the check box being passed as a $_GET, or $_POST? look for it with a print_r() you need a checkbox value, or it will look at it automatically NULL.
  21. are you uploading multiple files, if so do it with something like a while ($_FILE['variable_name']){.....} to pull out each of the files being submitted by the same name.
  22. There are RARE exceptions that you want to run a query in a loop, i.e. if one query needs to pull another to display data.
  23. I solved it by calling one of the tables with identical column names where it would be used
  24. SELECT * , `items`.`name` as item_name FROM auction, items, user_data WHERE `auction`.`item` = `items`.`id` AND `auction`.`seller` = `user_data`.`id` ORDER BY time ASC LIMIT 0 , 10
  25. The error is: can not generate result Unknown column 'item_name' in 'where clause' The variable item_name is there.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.