• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

HTML5 Canvas - Transferring MySQL data

Engaged ,
Apr 01, 2022 Apr 01, 2022

Copy link to clipboard

Copied

I want to transfer data to and from a MySQL database.  

 

Normally I would do this via JQiuery AJAX and use PHP scripts and MySQL queries.

 

$.ajax({
        type: "POST",
        url: "scripts/some_script.php",
        data: {
            data: some_data,
        },
        success: function(data) {
          //do stuff
        }
    });

 

Can I do this in Animate with JavaScript?

 

If so, how exactly?  I assume I would need to add the JQuery framework...

 

Views

324

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 01, 2022 Apr 01, 2022

add the jquery path to your global>include script panel

Votes

Translate

Translate
Community Expert ,
Apr 01, 2022 Apr 01, 2022

Copy link to clipboard

Copied

add the jquery path to your global>include script panel

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 01, 2022 Apr 01, 2022

Copy link to clipboard

Copied

I could also add the JQuery framework as a link in the html file I guess....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 01, 2022 Apr 01, 2022

Copy link to clipboard

Copied

LATEST

Cool, I got that working with the Global Include Script.

 

    $.ajax({
        url: "scripts/get_patients.php"
    }).then(function(data) {
        root.patients.text = data;
    })

Now I just need to get the dynamic text scrollable and entries clickable...  another question.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines