Help with Variables!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mushpoc
Forum Newbie
Posts: 6
Joined: Wed Jan 14, 2009 11:25 pm

Help with Variables!

Post by mushpoc »

How would i set a variable to date('H') with $hour being the variable i have been trying, but it keeps blowing up on me.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Help with Variables!

Post by requinix »

I... I must be misunderstanding the question.

Code: Select all

$hour = date("H");
Post Reply