Tidbit Tuesday on PHP: Holiday Notices for Business Sites

This is a handy script for managing an out of office message on your website.  I find this very useful on business websites when you’re tired of making that one little change to let people know when the office will be shut down.  With about 15 minutes of extra work, you only need to do it . . . → Read More: Tidbit Tuesday on PHP: Holiday Notices for Business Sites

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • MySpace
  • Twitter
  • Sphinn
  • Reddit

PHP Function Friday: date

I think the date function is extremely useful.  It gives your programs an awareness of WHEN they are.  You can do some pretty cool things like calculate this date from that date, make a calendar, or store information about when an action was taken.

Function and Syntax
string date(string $format [, int $timestamp ])
Manual Entry

http://php.net/manual/en/function.date.php

Notes and . . . → Read More: PHP Function Friday: date

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • MySpace
  • Twitter
  • Sphinn
  • Reddit

PHP Function Friday: include

Including files makes it really easy to NOT duplicate code. It’s great for creating headers and footers for websites, or using it in the inverse: make the header and footer in one file, and include the content.  You can also store site configuration files, functions, and repeating content, etc.

Function and Syntax
include(<file path>);

Manual Entry

http://php.net/manual/en/function.include.php

Notes and Use

Includes . . . → Read More: PHP Function Friday: include

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • MySpace
  • Twitter
  • Sphinn
  • Reddit

Sponsor:

SponsoredTweets referral badge