Raised This Month: $ Target: $400
 0% 

change variable depending of time hours minutes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
simple_user
Member
Join Date: Apr 2012
Location: Latvia, the cube
Old 05-05-2012 , 22:35   Re: array must be indexed <variable "hour">
Reply With Quote #1

PHP Code:
    new hourString[12]
    
get_time("%H"hourString11)
    new 
hour str_to_num(hourString
that was fast. may I ask what does it do and why?
__________________
You learn with time. Just gotta push yourself.
simple_user is offline
Send a message via Skype™ to simple_user
Reply



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 00:25.


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