Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
Re:
Hi, I'm having the problem with this code, gives me "wrong datatype for second argument" error here is the code: [code]<? $page_to_show = 'second.php'; // array of days and hours $working_time = array( 1=>array(21,22,23,0,1),//monday hours 2=>array(21,22,23,0,1),//tuesday hours 3=>array(21,22,23,0,1),//and so on 4=>array(21,22,23,0,1), 5=>array(21,22,23,0,1), 6=>array(21,22,23,0,1), 7=>array(11,12,13,14,21,22,23,0,1), ); if (in_array(date('H')+1,$working_time[date('N')])) { [COLOR=red][B]<-- error … |