Results 1 to 3 of 3
-
20th Jan 2012, 11:13 PM #1OPBannedWebsite's:
WarezRelease.org ThatHosting.cotime ago function
hi
my time ago function:
PHP Code:fixed and removrf
Chris2k Reviewed by Chris2k on . time ago function hi my time ago function: fixed and removrf im using timeAgo($subtime) to output it, can any1 tell me wot's wrong? Rating: 5
-
21st Jan 2012, 05:49 AM #2Respected Member
First thing that jumps out is you have a ; instead of : at end of case lines.
-
21st Jan 2012, 05:58 AM #3MemberWebsite's:
imdber.org justpaste.me1. You're switch-casing `1`?
2. The "parameter" in ur case statement will be returning true/false
Read More:
http://php.net/manual/en/control-structures.switch.php
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Long time lurker, first time poster
By Opie in forum IntroductionsReplies: 1Last Post: 27th Sep 2012, 06:53 PM -
[Help] Fix PHP function
By m1rr0z in forum Web Development AreaReplies: 0Last Post: 15th Apr 2011, 09:40 AM -
Need faster function - help :(
By Porsche_maniak in forum Web Development AreaReplies: 7Last Post: 11th Dec 2010, 07:54 PM -
Kloxo zip function. Need help.
By tres in forum Webmaster ResourcesReplies: 0Last Post: 12th Nov 2010, 09:59 AM -
Propz function
By CyberDeViLZ in forum vBulletinReplies: 9Last Post: 21st Jun 2009, 03:11 PM
themaCreator - create posts from...
Version 3.18 released. Open older version (or...