Raised This Month: $ Target: $400
 0% 

Array must be indexed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 06-20-2010 , 15:48   Array must be indexed
Reply With Quote #1

PHP Code:
public check()
{
    new 
itime[3]
    
get_time("%H",itime,2)
    if(
itime == 24)
    {
        
server_cmd("restart")
    }
    else
    {
        
set_task(0.1,"check")
    }

Code:
Error: Array must be indexed (variable "itime")
What does this mean and how can it be solved.
SpeeDeeR is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode