Activity Stream
48,167 MEMBERS
6932 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3
  1.     
    #1
    Banned
    Website's:
    WarezRelease.org ThatHosting.co

    Default time ago function

    hi

    my time ago function:

    PHP Code: 
    fixed and removrf 
    im using timeAgo($subtime) to output it, can any1 tell me wot's wrong?
    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

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    First thing that jumps out is you have a ; instead of : at end of case lines.

  4.     
    #3
    Member
    Website's:
    imdber.org justpaste.me
    1. 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Long time lurker, first time poster
    By Opie in forum Introductions
    Replies: 1
    Last Post: 27th Sep 2012, 06:53 PM
  2. [Help] Fix PHP function
    By m1rr0z in forum Web Development Area
    Replies: 0
    Last Post: 15th Apr 2011, 09:40 AM
  3. Need faster function - help :(
    By Porsche_maniak in forum Web Development Area
    Replies: 7
    Last Post: 11th Dec 2010, 07:54 PM
  4. Kloxo zip function. Need help.
    By tres in forum Webmaster Resources
    Replies: 0
    Last Post: 12th Nov 2010, 09:59 AM
  5. Propz function
    By CyberDeViLZ in forum vBulletin
    Replies: 9
    Last Post: 21st Jun 2009, 03:11 PM

Tags for this Thread

BE SOCIAL