Solved

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

Posted on 2016-10-10
9
114 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 29

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
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 

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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
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…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

705 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