PC Nerd
Members-
Posts
1,122 -
Joined
-
Last visited
Never
Everything posted by PC Nerd
-
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
-
its $DB_Server its in the file that include this one
-
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
-
um, what is this??? from sourceforge
-
<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
-
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.....
-
ok, thanks ill look into it, do you have any sites of resources i should look at to get started?
-
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?
-
coudl you give me a rough example, i think i inderstand, but am veru confused.... thanks for the answer though....
-
i refreshed the page, didnt change anyting, then received.... mysqli_result Object ( ) Warning: Invalid argument supplied for foreach() in FILE on line 20 anyting?
-
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???
-
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
-
anyting else i should try?
-
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?
-
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
-
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
-
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
-
does anyone have any ideas
-
dnt have time to expand, but is was with the quesy, and the incremet in Page_Data, not PageDate, i gtg thankx anyway
-
no sorry, still timeout anything else?
-
looping with error output
-
how to get a future date after 180 days after present day
PC Nerd replied to afsar's topic in PHP Coding Help
look at the strtotime() something like $date = time() $future = strtotime("$date + 180 days"); good luck -
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?
-
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
-
nah soz, that doesnt work anyting else i should try? thanks