Most voted "table" questions
Use this tag when the question refers to a table-only resource, information or problem, which is an HTML tag used to define a table.
Learn more…493 questions
Sort by count of
-
-1
votes1
answer25
viewsHow to update a column of data each time someone enters a page? This is so they can show in the table
The error is in the code snippet where there is the $update variable below. I use Mysql and have this table and the goal is to show in an html table the totalranking points. When someone earns…
-
-1
votes2
answers68
viewsJoin a cell from an html table [closed]
My table is like this But I wanted the total value in a single cell not to be separated into several total values. Exp: Date|Name|value 2020-02-12|a|1.00€ 2020-02-12|b|1.00€ Total Value|2.00€ Code:…
-
-1
votes1
answer64
viewsSeparate arrays in columns in an html table
I wanted to separate my array by columns in a table. When I enter the records you get a ',' but when I take the comma you get an Array to string Conversion error. Could you help me? How I wanted the…
-
-1
votes1
answer354
viewsHow to recover object ID in Jquery table row
Guys, here’s the thing, I get the database data and I set up a table with all this, I need in each line to store the value of the client id coming from the bank too so later I can delete, change…
-
-1
votes2
answers81
viewsAlign data tbody with theady
I have data consumed by an API to popular a table in html, they are coming OK, but I’m not able to make the alignment between theady and tbody that populate at runtime, you could help me? She’s…
-
-1
votes1
answer33
viewsHow to add a new table 1:N (one for many) in an existing database via Migration Laravel?
Hello! I need to add a new table in an existing comic. I use the Laravel Framework and I would like to do this via Migration, but every time I try it makes a mistake and I don’t know what I might be…
-
-1
votes2
answers260
viewsTaking a TD value from an HTML table to feed a PHP variable
I’m developing a web system. In this system I have tables with many columns since they are a lot of information, to reduce this I selected the most important information to be displayed and put in…
-
-1
votes1
answer20
viewsNot bringing the data with multiple filters into a table mysqli
<?php $query = "SELECT * from SALDO_GERAL"; $i = 0; $selectedOptionCount = count($_POST['LOCAL']); $selectedOptionCount2 =…
-
-1
votes1
answer371
viewsPicking up texts within a column within a Python table
I always use variations of this code in other tables and it usually works, but this one I try anyway and it doesn’t work, what I’m doing wrong? url =…
-
-1
votes1
answer98
viewsFilter in more than one column
Good afternoon guys, I made a table that has its data iterated through v-for, it occurs that I need to filter this table by column I found the function filter however I can only filter one want to…
-
-1
votes1
answer89
viewsHow to copy the contents of a table to the clipboard
Good night. I’m trying to create a script that copies the text of <td> by clicking on it. Since the complete table has more than 2000 lines I am trying not to put commands directly into…
-
-1
votes2
answers106
viewsHow to invert rows and columns in an HTML table populated by the return of a query?
I need to fill a table in my HTML page with data returned from a database query. The problem is that the TABLE tag fills in line by line, from left to right. In the layout I need to use, I need each…
-
-1
votes2
answers106
viewsHow to invert rows and columns in an HTML table populated by the return of a query?
I need to fill a table in my HTML page with data returned from a database query. The problem is that the TABLE tag fills in line by line, from left to right. In the layout I need to use, I need each…
-
-1
votes2
answers49
viewsProblem when receiving data from the database with if/Else
Guys I have a problem in my php, I want to select the name of people according to a code and for this I made an IF, but the code that should take the values of the database and print on the page is…
-
-1
votes1
answer58
viewsHow to show Yes and No instead of 0 and 1 in java?
I’m caught in this problem, I need to show Yes and No in the xhtml table instead of 0 and 1, the return type in get and set is Bigdecimal and the shapes I tried always end up breaking or not running…
-
-1
votes1
answer69
viewsHow to use canvas and Simpledoctemplate to each other? (reportlab)
I’m doing the exporting of reports through the library reportlab. To insert the text I used the canvas module, and wrote this code that works well. from reportlab.pdfgen import canvas pdf =…
-
-1
votes1
answer27
viewsChange the color of a parent element in a table
I’m trying to change the color of a parent element, in my case I want my tr to change color if my input is selected, but with css not working, someone has come across this situation? .control:focus…
-
-1
votes1
answer10
viewsWhy is my jquery duplicating table rows?
I am making a paginated table (with 3 lines per page), but when adding the rows in the table jquery is duplicating this. When clicking on the page change icons, it adds more items and below these…
-
-1
votes0
answers6
viewsExport Table to Excel ANGULAR 9
I wonder what I might be doing wrong in my code. I need to export the table to Excel, but when I do that the table is empty, I have no idea where I went wrong. Follows the code: "code html"…
-
-1
votes0
answers12
viewsHow to generate csv through lines
I need to generate one. csv through a row I’ve managed to turn into a column, but I’m not able to break this column into other columns. Example: I had the following information in 4 tabs of my…
-
-2
votes3
answers2040
viewsPHP Table background color
$aux = mysql_num_rows($sql2); $html = ''; $html .= '<table border="1">'; $html .= '<tr>'; $html .= '<td colspan="3"><b><Center>'.$row[0].'…
-
-2
votes1
answer276
viewsHow to assemble a table with Current Week Number plus the next 15 Weeks
How can I build a table (HTML + PHP) using the current week number and the next 15 weeks, for example: Semana Atual é 29 então teremos 29+15 = 44 The table will display the information obtained from…
-
-2
votes1
answer453
viewsHow do I make a cell to be a button in a table?
<div id=table> <tr id="tablebottom"> <th> <h5>Hoje</h5> </th> <th> <h5>Amanhã</h5> </th> </tr> </div> My question is how to…
-
-2
votes1
answer38
viewsI can’t get the date on the chart
I’m doing the following command: SELECT h.h_dia FROM hh h WHERE h.h_dia = 20180621 GROUP BY h.h_dia
-
-2
votes1
answer52
views"Solved" Text spacing in HTML table
Good afternoon, I am using html with bootstrap 5.0 and I have a doubt in reducing the space between the text within the "td", as I increase the font size, this space increases. <tr> <td…
-
-2
votes1
answer2075
viewsHow to change the table line color(php) according to the value?
<?php include_once("func/functions.php"); // Chama o arquivo de funções function diaria($codmot,$periodo) { $data = (explode(" - ",$periodo)); $datIni = date('Y-m-d',strtotime($data[0])); $datFin…
-
-2
votes1
answer720
viewsHow do I add values in another column in my table with javascript?
I’m using append to generate my table, but each row is being generated by a ForEach, but now that I have managed to generate the first column I have no idea how to generate the other let TrackerList…
-
-2
votes2
answers78
viewsLINE-HEIGHT is not working on my table
* { font-family: arial; } body { padding: 0; margin: 0; } .escopo { width: 100%; height: 200px; background-color: yellow; } .margem_escopo { width: 1000px; height: 200px; margin: auto; } .tabela {…
-
-2
votes1
answer55
viewsHow to organize the values of an array in a table using Javascript
Hello, I have the following example array: var users = [ { DiaDaSemana: 'segunda a sexta', valor: 'joaozinho' }, { DiaDaSemana: 'segunda a sexta', valor: 'mariazinha' }, { DiaDaSemana: 'sabados',…
-
-2
votes1
answer33
viewsTds do not use full table width
I created an HTML page with a table to store four columns (name, date, code and remove button) and, below, a form. I want the table to have a fixed width and height of 95vw and 80vh. To do this, I’m…
-
-2
votes1
answer27
views -
-2
votes2
answers72
viewsSpace between text and table borders
How I remove or reduce the space between the text and the upper and lower table edges? I need to be closer to the text because I have a large form and with these spaces does not fit in a sheet for…
-
-2
votes1
answer16
viewsTable with rowspan using array
I’m having difficulty making foreach with array, being 2 columns with rowspan and other 2 columns showing array of products of each furnace. See the example below of how it should be. <table…
-
-2
votes0
answers10
viewsWhen printing on firefox or Chrome add table borders
I’m making a code which is a form using Tables(html), at the moment of preview of the printing of the code add some borders, but when leaving the print is normal... Would you have any solution?.…
-
-3
votes3
answers517
viewsCreate table without border
You can create an HTML5 table without black border lines or change the line color to white. <center><table width="500px" height="600px"> <tr > <td> <iframe…
-
-3
votes2
answers63
viewsHow to align table in HTML?
Just doesn’t go along <Doctype html> <html> <head> <title>Revisão</title> <meta charset="utf8"/> </head> <body> <table aling="center"…
-
-3
votes1
answer31
viewsUpdate a table without page refresh
I saw here several answers to questions similar to mine, but none solved my problem. I am making an item registration system that when clicking the insert button it will give the Insert in the…
-
-3
votes2
answers102
viewsHtml/php tables do not appear
I have this code, but the goal was when you click if you see, the table appears, the problem is that every time I click everything disappears, and does not create the table. If I remove the form it…
-
-3
votes1
answer185
viewsHow to remove Tableview lines even with search field using Javafx?
Eae personal, I am trying to put the option to clear Tableview in my project, but as I have implemented the search option whenever I try to clear Tableview is presented this error: Exception in…
-
-3
votes1
answer48
viewsPython - List Creation
I am not being able to print the data table, it is only giving the data of the first input, and I could not see where the problem is, I am beginner and making simple projects. print…
-
-3
votes1
answer35
viewsPure Javascript: Multiply tds values in a table and return the value
What’s up with you guys? I have a shopping list and would like to multiply the quantity of the product with its value thus returning the result and add all the results. I have already managed to do…
-
-3
votes0
answers16
viewsExport Table to Excel ANGULAR
I wonder what I might be doing wrong in my code. I need to export the table to Excel, but when I do that the table is empty, I have no idea where I went wrong. Follows the code: "code html"…
-
-5
votes1
answer761
viewsPHP - Taking values from an HTML table and inserting them into a Mysql table
I have a table that is the result of a Mysql query from a database on a server. It is shown as follows, for example: E-MAIL VALUE ------ ----- email1 P email2 P email3 C email4 P email5 C email6 P I…