Solved

how to create a dynamic table retrieving stock information from mysql database?

Posted on 2016-10-10
9
101 Views
Last Modified: 2016-10-13
Dear experts here, I would like to make a webpage including a web table showing some picks information from mysql database. I have already downloaded the data and is able to save the data inside a mysql database. The problem for me is the frontend. I would like to create a dynamic table, the lines of the table matches the records inside the database. In a simple sentence, it should be able to display all records inside the database. I thought of creating a HTML table including more lines than the number of the records in the database, but it's not feasible.

Could anyone here give me some directions for fulfill this task? I attached the spreadsheet table I want to make in web form/table format.

Thanks.
picks-list.png
0
Comment
Question by:Jason Yu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 

Author Comment

by:Jason Yu
ID: 41837638
BTW, I would like to use python as the backend language to calculate all parameters.
0
 
LVL 28

Expert Comment

by:Pawan Kumar
ID: 41837804
Do you want to create temporary table or a physical table?
0
 

Author Comment

by:Jason Yu
ID: 41838701
a physical table showing on the webpage, the format is like the attachment.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:Jason Yu
ID: 41840590
Any help for this, this is a standard frontend web developer question.
0
 
LVL 62

Expert Comment

by:gheist
ID: 41841386
If it is so standard why dont you copy standard examples?

You need to return to the books and learn distinction between mysql table and HTML table, once rounded up with that would be worth pursuing learning some (python or not) web page generation framework.
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 41841812
I'm not clear on exactly what you are wanting to do.

If all you want is to display data from a database table on a web page, most web development languages have a datagrid or similar control that is designed to do exactly that.

Since you asked this question in the Python Topic Area, I looked and it appears there is a Python datagrid:
https://pypi.python.org/pypi/DataGrid

I'm not a Python person so I cannot help with the actual code.
0
 

Author Comment

by:Jason Yu
ID: 41842354
Thanks, I will follow this python link to see if I can use this one to display data on webpage.
0
 

Author Closing Comment

by:Jason Yu
ID: 41842355
Thanks for help, I will use this to pull data out from mysql database.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating and Managing Databases with phpMyAdmin in cPanel.
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question