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
Solved

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

Posted on 2016-10-10
9
89 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
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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 76

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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MySQL Error Code 2 25
possible to record changes (trigger I think) msql 11 39
MySQL Sub-Select Query Returning Duplicate Result 7 45
error with datetime python 1 19
Dictionaries contain key:value pairs. Which means a collection of tuples with an attribute name and an assigned value to it. The semicolon present in between each key and values and attribute with values are delimited with a comma.  In python we can…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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 …

839 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