User Tag List

Results 1 to 6 of 6

Thread: Does Anyone Know How To Display Numeric MYSQL Data And Display It Via A Counter?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    107
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Does Anyone Know How To Display Numeric MYSQL Data And Display It Via A Counter?

    I would like to use an image counter, if at all possible.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    are you already retrieving the data from MySQL table and simply need to "bring" it into a counter,

    or you need help in how to access your Sql table from your application and parse the data?

    (is it a remote SQL table or a local database on the same machine running the app?)

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    107
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yes, I just need instruction on how to bring data from a MySQL table into a counter. The database is located on a web host.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    You can simply do that with the Get object,
    get the url where your database script is located:

    i.e.
    >>> get url www.mywebsite.com/mydata.php?givemedata=yes

    this will trigger the script on your mydata.php webpage,
    that will make the SQL call to the database,
    and output only the plain number you need to put in the counter

    then simply:

    on get complete
    >>> set counter to val(Received$( "Get Object" ))

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    107
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sorry. I guess I misspoke. Apparently, I don't know how to retrieve mySQL table information from within Fusion 2.5.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,343
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    DokieMaster, what schrodinger says is probably the solution you are after. As far as I know you cannot retrieve the content from the sql table directly into Fusion from the database. Instead you do that through a webpage on your webserver, and call that webpage with the Get object.

Similar Threads

  1. How do I make a counter display a decimal?
    By Epic_Elephant in forum Fusion 2.5
    Replies: 1
    Last Post: 19th April 2016, 11:19 PM
  2. Build 12: Counter Display Bug
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 22nd February 2011, 03:17 PM
  3. how to make a counter display the FPS?
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 10th May 2010, 12:13 AM
  4. Counter Display Problem
    By zybers1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th June 2008, 12:52 AM
  5. Is have a counter with a larger display possible?
    By Mantoid in forum Multimedia Fusion 2 - Technical Support
    Replies: 31
    Last Post: 22nd July 2006, 11:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •