LilGhost's Profile User Rating: -----

Reputation: 8 Worker
Group:
Active Members
Active Posts:
98 (0.13 per day)
Joined:
12-October 12
Profile Views:
6,099
Last Active:
User is offline Mar 19 2014 12:55 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   LilGhost has not set their status

Posts I've Made

  1. In Topic: Add To All Rows At Once

    Posted 4 Jul 2013

    View PostDormilich, on 03 July 2013 - 11:38 PM, said:

    thought #1, backup your data before you try anything

    thought #2, why is ExpirationTime not a DATE/DATETIME field? (otherwise you could use DATE_ADD(), cf. date/time functions in SQL)

    thought #3, the current date is available via NOW()/CURRENT_DATE/etc. (see link above)

    thought #4, you can run this purely in SQL

    It was all previously saved using unix timestamps written by php, and, due to my laziness, i haven't converted it over.
  2. In Topic: PHP + MySql Compound Operators

    Posted 18 Apr 2013

    View Poste_i_pi, on 18 April 2013 - 06:30 PM, said:

    Pretty sure you can't use that type of increment syntax with UPDATEs, but the rest of the query is fine:
    $sql = "UPDATE `DatabaseName`.`TableName` SET `ValueIwantToIncrease` = `ValueIwantToIncrease` + 1 WHERE `TableName`.`id` = 1 LIMIT 1"
    
    

    I'll test that out tomorrow, thanks. And i have been doing it by getting the "ValueIwantToIncrease" in one query and then saying "$setToVal = $resultOfQuery + 1" and then assigning "ValueIwantToIncrease = $setToVal" (+ syntax of course when i actually do it in the code), but i have a feeling this will be a lot simpler; thanks.
  3. In Topic: What is the best site builder (Free)

    Posted 7 Apr 2013

    Your brain and your fingers are really the best website builder. All website builder codes came from somewhere and are limited to the knowledge of their developer. If you code your own website from scratch, the potential is limitless.
  4. In Topic: Question About Found Code (Uses "C" Function)

    Posted 29 Mar 2013

    Sorry for the late reply. Was in the shower, where all good thinking happens of course, and i thought of a way to recreate the function and after about 10 minutes of working on it I was able to rebuild an equivalent version that produces the same output. Thanks for your help.
  5. In Topic: Question About Found Code (Uses "C" Function)

    Posted 28 Mar 2013

    View PostJackOfAllTrades, on 28 March 2013 - 01:12 PM, said:

    There's no built in function c (that I'm aware of). It may be included from another file. Looks like they're obfuscating the code so that you can't just just cut and paste their solution.

    Thanks for the quick reply, is it possible to see where it calls from? I ask because I'm working on a similar site and they seem to have their security done pretty well.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

LilGhost hasn't added any friends yet.

Comments

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