• 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 - Clickable records from MySQL database

Engaged ,
Apr 01, 2022 Apr 01, 2022

Copy link to clipboard

Copied

I have a dynamic text field populated from a MySQL database.

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

I now want to make the records returned from the database clickable.  The number of records will also need to be scrollable.  The clickable records are patient names.

 

Would would be the best method of presenting this data to achieve the above?  A list instead of a text field comes to mind.  If so, how would that be implemented?

 

Views

106

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

A better way might be to dynamically create movieclips for each returned record and display these inside another movieclip (or some other container) which is scrollable. 

 

How would I do that?

 

Other suggestions?

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