Lieoften's Profile User Rating: -----

Reputation: 17 Tradesman
Active Members
Active Posts:
259 (0.14 per day)
06-January 10
Profile Views:
Last Active:
User is offline Jan 11 2015 08:38 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Your Car:
Dream Kudos:

Latest Visitors

Icon   Lieoften is Tired as heck.

Posts I've Made

  1. In Topic: Atypical "Voting System" question

    Posted 7 Nov 2014

    View PostCTphpnwb, on 06 November 2014 - 09:18 AM, said:

    In integer math 1/2 == 0, so you're adding zero to your votes.

    That currently wouldn't affect the fact that the StatusUpdate function isn't changing the "status" column from 0 to 1
  2. In Topic: Atypical "Voting System" question

    Posted 6 Nov 2014

    As things stand, the record i'm trying to affect's "Vote Required" is "1" and the total number of Votes is 25.
  3. In Topic: Atypical "Voting System" question

    Posted 5 Nov 2014

    View PostCTphpnwb, on 04 November 2014 - 06:15 AM, said:

    How do you know it runs? Do both $this-> checkIf(20) and $this->checkConstants(20) return true? What's with 20? Magic numbers aren't good, especially in function calls They lead to confusion.

    20 is a unique id of a row within the tables. Both of them are returning true.
  4. In Topic: Atypical "Voting System" question

    Posted 4 Nov 2014

    View PostArtificialSoldier, on 03 November 2014 - 11:19 AM, said:


    But for some reason, and i'm assuming it might have something to do with the fact that the computer votes in scores of 5's and 10's, the systems are not always updated.

    What does that mean? Does that mean the function doesn't get called? Does it get called, and the query runs, but it doesn't affect the records you think it should? Something else?

    Sorry, thought I specified in the previous post (Is the error of my habits, I only post at 4 am when i'm tired as hell). The query is running but none of the records are being affected. There's no errors, no nothing, the code just runs and doesn't update the DB
  5. In Topic: not really a "bad code"

    Posted 1 Nov 2014

    View PostGamma Ray, on 29 September 2014 - 01:17 AM, said:


    if(!isset($caffeine) && !isset($keyboard) && !isset($monitor) && !isset($music))

    You watch porn without a monitor?
    You can't even say you listen to the audio, because you have no $music either.

    Just because I don't have a monitor, doesn't mean I don't have a $TV or $DVD player. But perhaps I should've included the full spectrum of my life into the code.

My Information

Member Title:
D.I.C Regular
Age Unknown
Birthday Unknown

Contact Information

Click here to e-mail me
Website URL:
Website URL


Lieoften hasn't added any friends yet.


Lieoften has no profile comments yet. Why not say hello?