Jump to content

PC Nerd

Members
  • Posts

    1,122
  • Joined

  • Last visited

    Never

Everything posted by PC Nerd

  1. ok, ive got it working, i cant remember what id did, but i think it was one of the values in the including fiile thanks for all your help.. PC Nerd
  2. its $DB_Server its in the file that include this one
  3. no i havent done it is there another way, i dont particualarly have tim eto go downloading and installing stuff.......??? if not, are all 4 or 5 files necissary??? whats the deal and what exactly are they, not just "a quick way to do this" like "a 3rd party CMS" or something... thanks PC Nerd
  4. um, what is this??? from sourceforge
  5. <br /> <b>Warning</b>: mysql_query(): supplied argument is not a valid MySQL-Link resource in <b>FILE</b> on line <b>7</b><br /> Could not retrive Attack Players. thats the output from replaceing mysqli with mysql
  6. ive tried this with every other mysqli error ive redeived, but it doesnt work, anyway, i know that it works cos its the same with all the other, roughly 50 queries that are working....... but ill do it anyway.....
  7. ok, thanks ill look into it, do you have any sites of resources i should look at to get started?
  8. ok, this is the entire output of what you added <br>mysqli_result Object ( ) NULL object <br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at FILE:15) in <b>C:\xampp\xampp\htdocs\Battle-Ages\Crons\cron_incs\Cron_Attack.inc</b> on line <b>21</b><br /> <br /> <b>Warning</b>: Invalid argument supplied for foreach() in <b>FILE</b> on line <b>23</b><br /> anything else?
  9. coudl you give me a rough example, i think i inderstand, but am veru confused.... thanks for the answer though....
  10. i refreshed the page, didnt change anyting, then received.... mysqli_result Object ( ) Warning: Invalid argument supplied for foreach() in FILE on line 20 anyting?
  11. Array mysqli_result Object ( ) 7 8 10 thats my output. im not sure about the numbers, but ithin its meant to be one of my randomly chosen user_ID's, but ill look at it, i dont kno about the rest...... thanks, what shounld i do???
  12. hi guys ive seen that part in the header of this forum when your logged in, and it tells you how much time youve spent online and active..... im wondering how to do this. im using cookies, with an expire time of 30 minutes, BUT people might just not loggout, and the timout is to check that how can i loggout people...., or is there a better way of running the loggin i know its very open question, but im just looking for a starting point and pointer. thanks guys
  13. actually my code is exactly what youhave as your example, and i still receive the error, now i have read that stuff and still cant see my error.. thankx for your help anuyting else?
  14. not 100 % sure what you mean i used the mysqli_fetch_array(); but i still got the same error its in the foreach loop in my original code, not thw while loop if i say echo $Att_Players, i get "Array" does this mean that its returning an object or somethign instread of the array values? thanks for any and all help, PC Nerd
  15. ok, i get some sort of output from my redefinine my array, with the while, in my oro=iginal code now when i want to display that... foreach($Att_Players as $Value){ echo $Value."<br>"; } i get: Warning: Invalid argument supplied for foreach() in FILE on line 18 whats happening i cant figure it out? thankx
  16. ok, i think ive solved it it was the origina file in shich this one was required...... there was a while loop that wasnt being correctly incremented. thankx anyway, ill post if i cant get it working
  17. dnt have time to expand, but is was with the quesy, and the incremet in Page_Data, not PageDate, i gtg thankx anyway
  18. no sorry, still timeout anything else?
  19. look at the strtotime() something like $date = time() $future = strtotime("$date + 180 days"); good luck
  20. um, == give a 60 second timout message and no other output = gives the output, looping endlessly for 60 seconds until the 60 second timeout thankx anyway, anything else?
  21. um, not sure but look at the strreplace() function ie $s = 'this is a string'; $ns = 'q'; $thing = strreplace('s', $ns, $s); this would make $thing == "thiq iq a qtring" good luck
  22. nah soz, that doesnt work anyting else i should try? thanks
×
×
  • 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.