Questions tagged [table]
The table tag has no usage guidance.
13
questions
2
votes
1answer
106 views
CSS Table, Table Row Styling
In my CSS document, I have a selector for my leaderboard table.
table#leaderboard {
some css
some css
}
How would I write CSS for the tr, or td for the leaderboard table? Would it be ...
0
votes
1answer
120 views
Why can't I make this table? It shows an error
The error message is probably wrong. I can't see any mistake where it mentions there is one.
0
votes
1answer
44 views
Pset 7 Houses: Import seems to work but check50 doesn´t agree
I am confuse with this one: The program doesn´t return any error when I run it and if I go to the students table the names are there, but check50 says it imports "[]". Am I at least close to ...
0
votes
2answers
52 views
Final Project help with centering html table
I'm currently working on the cs50 Final Project (a website). So I'm printing the data in a sqlite table as an html table for a page of my website. However, my table headers and data sometimes took up ...
0
votes
0answers
756 views
(psycopg2.errors.UndefinedTable) relation “users” does not exist
when i try to load up regster.html i get this error
"sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "users" does not exist
LINE 1: INSERT INTO users(username,password) ...
0
votes
1answer
63 views
confusion about CSVs and Jinja in pset7--generating a table
I'm deeply confused about how CSV files work in this context. Below is my application.py code and my form.html code; I can't see how to use Jinja to call on the information stored in my CSV file. In ...
0
votes
1answer
719 views
pset7 - login RuntimeError: no such table: stock
I get an error in the request to /login:
Exception raised in application: RuntimeError: no such table: stock [SQL: 'SELECT symbol, SUM(shares) FROM stock WHERE userid = 18 GROUP BY symbol'] (...
0
votes
1answer
84 views
pset7: one “history” table for each user?
In pset7 Finance, for the "History" table, this table will sum up the transactions for EVERYBODY who registered, right ?
I understand I can later use SELECT(JOIN) but is there another way to make a ...
0
votes
1answer
1k views
Editable html table (PHP, MySQL) - doesn't save changes in database
For my final project, i'm trying to make my html tables editable by users, with updating data in MySQL. I've found in web a few js scripts for such case but no one works as needed. My result - ...
0
votes
1answer
338 views
Pset7 Index not outputting some fields in table
I am in desperate need of help, since the index method is the last method I have left to finish for this pset! So far, my index code works partially - as in, only the values I passed in from my ...
0
votes
1answer
107 views
CS50 Pset7 Finance HTML Table Not Aligned
The index table looks pretty good, but the "Price" and "Total" columns in the history table are not aligned with the headers. The code for the two is nearly identical.
Here is the code for index....
0
votes
1answer
152 views
new to Python: for loop
I see David using a lot of for loops like this, usually in a table:
for (singular variable) in (plural variable)
e.g.
for registrant in registrants
He doesn't actually declare the singular ...
0
votes
1answer
182 views
could someone help me with Portfolios table?
hello guys. I am stuck on this table. Could anyone tell me what how to do this table the right way. I do not know what types should i use for every row