scripting w/ conditions

Discussion in 'Optigold ISP' started by doctorj, Jul 22, 2004.

  1. #1
    Is it possible to make a script in Optigold to execute different sql commands based upon which value is in a field in OptiGold?

    Stephen
     
    doctorj, Jul 22, 2004 IP
  2. doctorj

    doctorj Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    To clarify my previous question - the value in the field in OptiGold would not be a value to be entered directly into the SQL db but would only be used to determine which predefined sql commands and values would be executed.
     
    doctorj, Jul 22, 2004 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    No, there is not any if/then/else logic available within the SQL statement (other than the normal IF() statement you can use within the SQL statement itself.
     
    digitalpoint, Jul 22, 2004 IP
  4. Zackman

    Zackman Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What I have found is to use a standard Http trigger to send a get url to a custom php scrip on my server with the optigold fields passed through the url, this way I can manipulate any data I want through php.. It also bypases the cost of the Nettools plugin with enhanced functionality. :D
     
    Zackman, Jul 23, 2004 IP