I gang

php list matching table contents for edit and update table

php task to :

1. display a text box that I can paste text into (multiple lines, up to 600 lines, each line either 4 or 5 characters ) - code the height of the text box and add vertical scroll.

2. display a 'Display' button

3. when Click on the 'Display' button, do the following :

create a table with 4 columns ( headings : code / long / short / size )

read the pasted text from the text box, one line at a time, and for each line :

find the table row that contains the 'code' with the same as the text box text

create a new row in the table

populate the 3 columns with the table data, with the 'short' value in a text box in the table cell, so that I can edit it.

the 'size' value must show the number of characters in the 'short' box.

Add javascript to always update the 'size' value when the 'short' text is changed.

at the end of the table, display an 'Update' button.

if the 'Update' button is clicked, then update the 'short' value in the table for each item that was modified.

Table fields, types and sizes ( relevant fields only )

code var(15) ( unique for each table row )

short var(100)

longname var(250)

Færdigheder: MySQL, PHP, Software Arkitektur

Se mere: edit update php, new line in php, time table, one line php, vertical php, javascript edit row table, 600 lines, vertical columns, text table, row text php, display table, table javascript, short lines text, javascript paste button, 100 item list, javascript scroll end, data matching, cell number list, populate php var, multiple button php, unique php software, create contents, vertical line time, php button multiple, item list

Om arbejdsgiveren:
( 139 bedømmelser ) Umbogintwini, South Africa

Projekt-ID: #4077941