0

Hello guys.
In this project i am involved with we want to list some columns from a sql database. We want to list them as a table which you can make changes to, but the first two should be edited through dropdown and and the other two which are dates should be edited by a pop up date picker java script.
Like this:
USER PROJECT START END
Dropdown Dropdown Datepicker Datepicker

The date picker can be applied to text fields, etc within a form, basicly when you press it a calender will pop up.
After all the changes have been made we of course want to update the database.
I hope you understand and can give a hand with this.

something like this.

//K0ns3rv

Edited by K0ns3rv: n/a

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by network18
0

simply show whatever you want to fetch from database in the html the way you said above.
But with the update button do like below -

if(isset($_POST['update_btn']) && $_POST['update_btn'] =='update')
{
$col1 = $_POST['elem1'];
$col2 = $_POST['elem2'];
//your code to update table
}
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.