Forum Announcements
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsForum InformationForum Announcements

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old July 25th, 2005, 02:05 PM
thaminda's Avatar
thaminda thaminda is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 139 thaminda User rank is Lance Corporal (50 - 100 Reputation Level)thaminda User rank is Lance Corporal (50 - 100 Reputation Level)thaminda User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 20 h 17 m 53 sec
Reputation Power: 5
Exclamation Name your CODE blocks

We create a new hack to name CODE blocks.

Code block without name
Code:
$tomorrow  = mktime(0, 0, 0, date("m")  , date("d")+1, date("Y"));
$lastmonth = mktime(0, 0, 0, date("m")-1, date("d"),  date("Y"));
$nextyear  = mktime(0, 0, 0, date("m"),  date("d"),  date("Y")+1);


Code block with name
Code:
Date formatting
$today = date("F j, Y, g:i a");                // March 10, 2001, 5:16 pm
$today = date("m.d.y");                        // 03.10.01
$today = date("j, n, Y");                      // 10, 3, 2001
$today = date("Ymd");                          // 20010310
$today = date('h-i-s, j-m-y, it is w Day z ');  // 05-16-17, 10-03-01, 1631 1618 6 Fripm01
$today = date('\i\t \i\s \t\h\e jS \d\a\y.');  // It is the 10th day.
$today = date("D M j G:i:s T Y");              // Sat Mar 10 15:16:08 MST 2001
$today = date('H:m:s \m \i\s\ \m\o\n\t\h');    // 17:03:17 m is month
$today = date("H:i:s");                        // 17:16:17
Comments on this post
Wit agrees: (3) ...but if you can get rid of the "random" spaces in (php) code blocks, people will actually send
you money ;) ;) ;)

Reply With Quote
Closed Thread

Viewing: SEO Chat ForumsForum InformationForum Announcements > Name your CODE blocks


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT