[PHP] Auto refresh

2003-06-03 Thread Kurosh Burris
Hi Everyone, I'm now trying to add an "auto refresh" in a .php file, so that it automatically refreshes the same page every 15 mins. Is there an upper limit to the header() function? It seemed to work fine when it was set to "5" seconds, but is not working with "900". Here's the code: header(

RE: [PHP] Supplied argument is not a valid MySQL result resource

2003-06-03 Thread Kurosh Burris
Hi Hugh, I added back in the other two lines, and it's working now... not sure why, though. Thanks, Kurosh -Original Message- From: Hugh Danaher [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:53 AM To: Kurosh Burris Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Supplied arg

RE: [PHP] Supplied argument is not a valid MySQL result resource

2003-06-03 Thread Kurosh Burris
t use the "new Query" part. Kurosh -Original Message- From: Hugh Danaher [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:53 AM To: Kurosh Burris Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Supplied argument is not a valid MySQL result resource try something simpler an

[PHP] Supplied argument is not a valid MySQL result resource

2003-06-03 Thread Kurosh Burris
Hi Everyone, I'm trying to get a very simple "sum" of the values in an MySQL database field column. I have very little experience with PHP and SQL, but I learn quickly. :) Our resident PHP expert who built the full script is really busy, so I've been trying to do this myself. The farthest I co